[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3] console/serial: bump buffer from 16K to 128K
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Date: Tue, 19 Sep 2023 14:51:18 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TrLVvebv+NZb+UF1SZeb7lSiHynKe/N7TNyKlKbc5VQ=; b=JERaL9WvL3y/ZdcxkwD6YwjBkT3FLe58jzYu06uwjG5nq7KI1s721l3OlsnOelv1RMwHxas/zjYdMIGf8qtoXK696of151S8repad8LQbWUCMyR/1AofdLf+hoeCeUI1sz3dA7b/ioQxdby1VdOuez1RP9wwTfRE/spTi44kTvLMkqZKemO0vjDHJ871yXq0Vs7NsCeAFlk4Z8K3xdEfyUZCe9zF7RGpuoObIKFgYBRBNqpV7tLNBf2Cw0AFxZPwuKApLU0O/VKKOy3s0OJd+mbsQWGhfegxEYv6il4RtyX7ShBKgtVMUv/UmHbED7U/vVsjc5iZHPdfzATHrKBIYQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D25jEhPDuoOnqchK7hncWB7FmNc453mEuqiH/4H01sBoaKYwMD8abk4RlTf0SLl0bWyAutAmT0zQ9PmeFZTODsiE2hxyqeDGWrSmw7jQ/3KoOBA0pANtERLA0cHr8lJTCSZ72EURSPkWZOs6aiw0V6Om7BVC5og3duDTpvgWiXN8eO6Xe4HMnMae1aEQ5nXUQkOWE7DlzGgIZAIqKOMcr4pYlZAUFsvDB0qS7sr8u8nXKDTnd14PsVzwPyoTCJ9gIfaj/Nn9T0XawpFT3wsgC3+Sg6j+iT7d3yQ51mPQ1zL3nrneC1QgDQCQLgo/5jzQLf/eg8G6J7Mb5skd6XS9ow==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Tue, 19 Sep 2023 12:52:16 +0000
- Ironport-data: A9a23:HkSB26xGVBQvyDcOK3p6t+f+xyrEfRIJ4+MujC+fZmUNrF6WrkUOm mFMCm7VP/rZN2L9LtwjOd/noExVvMOGmtdhGVZpqSAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjPzOHvykTrecZkidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw/zF8EkHUMja4mtC5QRvPKET5jcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KTFHr 9c5KXcMVE2GrL+/xo2BSrZwt8t2eaEHPKtH0p1h5RfwKK9+BLzmHeDN79Ie2yosjMdTG/qYf 9AedTdkcBXHZVtIJ0sTD5U92uyvgxETcRUB8A7T+fVxvjiVlVQguFTuGIO9ltiiX8Jak1zev mvb12/4HgsbJJqUzj/tHneE37WUxXKqCdhKfFG+3qdPmkGp6E4oMjcTZX2go/qDjGuVft0Kf iT4/QJr98De7neDXtT7GhG1vnOAlhodQMZLVf037hmXzajZ6BrfAXILJhZDYtE7sM49RRQxy 0SE2djuAFRHsqCRSH+b3qeZq3W1Iyd9BXQZeSYOQA8B4t/iiII+lBTCSpBkCqHdpsLxMSH9x XaNtidWulkIpcsC1qH+8VWZhTup/8DNVlRsvlSRWX+55ARkYoLjf5av9VXQ8fdHKsCeU0WFu 38H3cOZ6YjiEK2wqcBEe81VdJnB2hpPGGGM6bKzN/HNLwiQxkM=
- Ironport-hdrordr: A9a23:P/o75aql/rvLohCd0wkrae8aV5tULNV00zEX/kB9WHVpm5Oj+v xGzc5w6farsl0ssSkb6KW90Wy7MDrhHZ4c2/htAV7QZniThILIFvAi0WKG+VHd8kLFh59gPM tbAtND4ZjLfCpHZKXBkUmF+rQbsam6GcmT7I+woQYPPGMaEtAZ0+pgMGam+w9NNXp77PICZd ihD6F81kadkAEsH7qG7w4+Lpf+TrPw5ejbiCo9dlsawTjLoSKj7bb7FxSC/xEFTj9D+7ct9m DZjxf0/OGGv+ugwhHR7nTU5ZhNgtfto+EzYfCku4w4Oz/oggataJ9AX6SYvDcpiOuz6FAs+e O8xSsIDoBe+nnVdmGwrQDM3xD60DEyznf+xViTkRLY0KvEbQN/J9tKgIpYdhfD0lEnrcFY2L 9G2GiI3qAnaS8o0R6NvOQhmHlR5wSJiEtntdRWo21UUIMYZrMUhYsD/HlNGJNFJy7+4JBPKp giMCmJjsw2TXqqK1Ti+kV/yt2lWXo+Wj2cRFIZh8CT2z9K2Fhk0kox3qUk7yc93aN4b6MBy/ XPM6xumr0LZNQRd7hBCOAIRtbyInDRQCjLLHmZLT3cZfA60kr22s3KCYgOlb6Xkd0zvccPca 36IQ5lXLsJChzT4c7n5uwAzvmCehT/LGbQIgc33ek8hlS2fsudDcS5ciFkryN7y89vRPEza8 zDf66+S8WTW1cGObw5hjEWCKMicUX3pqUuy5kGs6XnmLOGFmStjJ2ATB/6HsukLQoZ
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Testing on a Kaby Lake box with 8 CPUs leads to the serial buffer
being filled halfway during dom0 boot, and thus a non-trivial chunk of
Linux boot messages are dropped.
Increasing the buffer to 128K does fix the issue and Linux boot
messages are no longer dropped. There's no justification either on
why 16K was chosen, and hence bumping to 128K in order to cope with
current systems generating output faster does seem appropriate to have
a better user experience with the provided defaults.
Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
--
Changes since v2:
- Bump to 128K.
---
xen/drivers/char/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig
index 06350c387371..1cd9cddfe1bf 100644
--- a/xen/drivers/char/Kconfig
+++ b/xen/drivers/char/Kconfig
@@ -77,13 +77,13 @@ config HAS_EHCI
config SERIAL_TX_BUFSIZE
int "Size of the transmit serial buffer"
- default 16384
+ default 131072
help
Controls the default size of the transmit buffer (in bytes) used by
the serial driver. Note the value provided will be rounded down to
the nearest power of 2.
- Default value is 16384 (16kiB).
+ Default value is 131072 (128KiB).
config XHCI
bool "XHCI DbC UART driver"
--
2.42.0
|