From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 10 11:36:01 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C55106566C for ; Thu, 10 Jun 2010 11:36:01 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9318FC08 for ; Thu, 10 Jun 2010 11:36:01 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMg3A-0007bu-Dm for freebsd-hackers@freebsd.org; Thu, 10 Jun 2010 13:35:56 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2010 13:35:56 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jun 2010 13:35:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org connect(): No such file or directory From: Ivan Voras Date: Thu, 10 Jun 2010 13:35:47 +0200 Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100518 Thunderbird/3.0.4 X-Enigmail-Version: 1.0.1 Subject: Proposal - increase SYSV SEMMNI and SEMMNS X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2010 11:36:01 -0000 Currently, the defaults are: kern.ipc.semmni: 10 kern.ipc.semmns: 60 but there are several nontrivial pieces of software that would use much more; two examples are PostgreSQL (the database) and Mono (the .net clone). I'd like to increase these defaults to: kern.ipc.semmni: 50 kern.ipc.semmns: 300 If I'm reading it correctly, each semaphore takes around 12 bytes (times SEMMNS), allocated with kernel malloc at boot time. This change is not as critical as before since both are now loader tunables, but increasing the defaults would be a convenience move, to save some reconfiguration-and-reboot hassle when installing software.