Date: Wed, 7 Nov 2012 16:35:59 +0200 From: Nikolay Denev <ndenev@gmail.com> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: Garrett Cooper <yanegomi@gmail.com>, Yuri <yuri@rawbw.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: pgbench performance is lagging compared to Linux and DragonflyBSD? Message-ID: <FB2D46E8-2940-4583-B15A-5F3BE63C46DF@gmail.com> In-Reply-To: <alpine.BSF.2.00.1211071547170.5942@wojtek.tensor.gdynia.pl> References: <50980ADD.4010402@rawbw.com> <CAGH67wScvnE7gYzVVtfehYbVfM465vrLjP9bX4KXSp8Sq-25mA@mail.gmail.com> <alpine.BSF.2.00.1211061025210.18204@wojtek.tensor.gdynia.pl> <A396E61A-10A4-40A1-B7FC-97AA2C0B7340@gmail.com> <alpine.BSF.2.00.1211071547170.5942@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 7, 2012, at 4:48 PM, Wojciech Puchar = <wojtek@wojtek.tensor.gdynia.pl> wrote: >>>=20 >>> actually FreeBSD defaults are actually good for COMMON usage. and = can be tuned. >>>=20 >>> default MAXBSIZE is one exception. >>=20 >> "Common usage" is vague. While FreeBSD might do ok for some = applications (dev box, simple workstation/laptop, etc), there are other = areas that require additional tuning to get better perf that arguably = shouldn't as much (or there should be templates for doing so): 10GbE and = mbuf and network tuning; file server and file descriptor, network = tuning, etc; low latency desktop and scheduler tweaking; etc. >=20 > still any idea why MAXBSIZE is 128kB by default. for modern hard disk = it is a disaster. 2 or even 4 megabyte is OK. >=20 >>=20 >> Not to say that freebsd is entirely at fault, but because it's more = of a commodity OS that Linux, more tweaking is required... > actually IMHO much more tweaking is needed with linux, at least from = what i know from other people. And they are not newbies > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org" Actually MAXBSIZE is 64k, MAXPHYS is 128k. There was a thread about NFS performance where it was mentioned that = bigger MAXBSIZE leads to KVA fragmentation.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB2D46E8-2940-4583-B15A-5F3BE63C46DF>