pgbench performance is lagging compared to Linux and DragonflyBSD?

Nikolay Denev ndenev at gmail.com
Wed Nov 7 14:36:04 UTC 2012


On Nov 7, 2012, at 4:48 PM, Wojciech Puchar <wojtek at wojtek.tensor.gdynia.pl> wrote:

>>> 
>>> actually FreeBSD defaults are actually good for COMMON usage. and can be tuned.
>>> 
>>> default MAXBSIZE is one exception.
>> 
>> "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.
> 
> still any idea why MAXBSIZE is 128kB by default. for modern hard disk it is a disaster. 2 or even 4 megabyte is OK.
> 
>> 
>> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at 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.



More information about the freebsd-hackers mailing list