FreeBSD 7.1 disk performance issue on ESXi 3.5

Sebastiaan van Erk sebster at sebster.com
Fri Feb 13 13:59:57 PST 2009


Hi,

ivoras at gmail.com wrote:

> As for the original thread topic: I've communicated with the OP and it 
> appears his method of benchmarking had an error so the problems that 
> appear in his post are bogus.

It is not quite true that the "method" is bogus, there just seems to be 
a huge difference between a soft updates vs non-soft-updates disk.

These are the results I get now:

dbench -D <dir> -t 60 1

on / (ufs, local):
Throughput 13.4561 MB/sec 1 procs

on /tmp (ufs, local, soft-updates):
Throughput 92.299 MB/sec 1 procs

However, whether it is caching or not, Linux gets 350 MB/s using 1 
process and even 650 MB/s using 2. As I understand it, this shouldn't be 
possible on the physical disks, but still, the *virtual* disk seems to 
get this performance.

When I benchmark the linux vs the freebsd using Unixbench 4.1/5.1 (I 
tried both) I also get ***HUGE*** differences:

    System: test-fbsd.vpn1.sebster.com: FreeBSD
------------------------------------------------------------------------
Benchmark Run: Tue Feb 10 2009 06:25:49 - 06:54:08
2 CPUs in system; running 1 parallel copy of tests

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   14144383.9   1212.0
Double-Precision Whetstone                       55.0       3238.7    588.9
Execl Throughput                                 43.0        630.0    146.5
File Copy 1024 bufsize 2000 maxblocks          3960.0      28793.2     72.7
File Copy 256 bufsize 500 maxblocks            1655.0      33410.0    201.9
File Copy 4096 bufsize 8000 maxblocks          5800.0      33536.8     57.8
Pipe Throughput                               12440.0    1146784.7    921.9
Pipe-based Context Switching                   4000.0      36203.6     90.5
Process Creation                                126.0        783.3     62.2
Shell Scripts (1 concurrent)                     42.4        645.1    152.2
Shell Scripts (8 concurrent)                      6.0        115.4    192.3
System Call Overhead                          15000.0     939647.5    626.4
                                                                    ========
System Benchmarks Index Score                                         212.4


    System: test-ubuntu: GNU/Linux
------------------------------------------------------------------------
Benchmark Run: Mon Feb 09 2009 15:15:06 - 15:43:20
2 CPUs in system; running 1 parallel copy of tests

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   18610575.3   1594.7
Double-Precision Whetstone                       55.0       2990.1    543.7
Execl Throughput                                 43.0       1058.6    246.2
File Copy 1024 bufsize 2000 maxblocks          3960.0     468973.2   1184.3
File Copy 256 bufsize 500 maxblocks            1655.0     132022.2    797.7
File Copy 4096 bufsize 8000 maxblocks          5800.0     921448.5   1588.7
Pipe Throughput                               12440.0    1132933.6    910.7
Pipe-based Context Switching                   4000.0      93429.0    233.6
Process Creation                                126.0       1744.3    138.4
Shell Scripts (1 concurrent)                     42.4       2566.9    605.4
Shell Scripts (8 concurrent)                      6.0        518.4    864.0
System Call Overhead                          15000.0    1935577.0   1290.4
                                                                    ========
System Benchmarks Index Score                                         656.1

Here the disk intensive test (file copy) and context switch/process 
creation test do terrible.

For all my personal servers this is not an issue for me at all. But for 
a big high traffic web site I'm building, I'm afraid I'm going to have 
to go for Linux. :-(

Regards,
Sebastiaan
> _______________________________________________
> freebsd-performance at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-performance
> To unsubscribe, send any mail to 
> "freebsd-performance-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3328 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-performance/attachments/20090213/07fb0fa9/smime.bin


More information about the freebsd-performance mailing list