From owner-freebsd-current@FreeBSD.ORG Wed Nov 14 09:37:53 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C8BE475 for ; Wed, 14 Nov 2012 09:37:53 +0000 (UTC) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8198C8FC1B for ; Wed, 14 Nov 2012 09:37:52 +0000 (UTC) Received: (qmail 30236 invoked from network); 14 Nov 2012 11:11:54 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 14 Nov 2012 11:11:54 -0000 Message-ID: <50A36669.4000905@freebsd.org> Date: Wed, 14 Nov 2012 10:37:45 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Alfred Perlstein Subject: Re: svn commit: r242910 - in user/andre/tcp_workqueue/sys: kern sys References: <201211120847.qAC8lEAM086331@svn.freebsd.org> <50A0D420.4030106@freebsd.org> <50A2FDAC.6080903@mu.org> In-Reply-To: <50A2FDAC.6080903@mu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 09:37:53 -0000 On 14.11.2012 03:10, Alfred Perlstein wrote: > Andre, do you think the variable "realmem" could be exported as something like kmemsize or something? > > Or maybe a function call to subr_param.c? > > The reason I ask is that I would like to scale things like number of default sysv semaphores to > something like 64 per 1GB of "realmem". > > Thoughts? Yes, let me see whether there is a better name for it. -- Andre > The reason I'm interested in this is because we just had a user run out of sysvsems on a machine > with 256GB ram. > > -Alfred