Index | Thread | Search

From:
Hrvoje Popovski <hrvoje@srce.hr>
Subject:
Re: i386 box for testing
To:
tech@openbsd.org
Date:
Wed, 15 May 2024 20:42:07 +0200

Download raw body.

Thread
  • Hrvoje Popovski:

    i386 box for testing

    • Hrvoje Popovski:

      i386 box for testing

On 14.5.2024. 19:50, Hrvoje Popovski wrote:
> Hi all,
> 
> I've installed i386 on Dell R430 with 20 cores and it seems that full
> dmesg is little to big. In /var/log/messages i have
> 
> May 14 09:41:40 i386 /bsd: klog: dropped 977 bytes, message buffer full

Hi,

thanks to deraadt@ for pointing me what to change. 10*PAGE_SIZE is
enough for 20 cores but it's not enough when enabling hyperthreading


Here's diff

Index: include/param.h
===================================================================
RCS file: /home/cvs/src/sys/arch/i386/include/param.h,v
diff -u -p -r1.53 param.h
--- include/param.h     14 Dec 2023 13:26:49 -0000      1.53
+++ include/param.h     15 May 2024 18:38:46 -0000
@@ -70,7 +70,7 @@
 #define        NMBCLUSTERS     (32 * 1024)             /* max cluster
allocation */

 #ifndef        MSGBUFSIZE
-#define        MSGBUFSIZE      (8 * PAGE_SIZE)         /* default
message buffer size */
+#define        MSGBUFSIZE      (12 * PAGE_SIZE)        /* default
message buffer size */
 #endif

 #define __HAVE_ACPI