FreeBSD 5.3 I/O Performance / Linux 2.6.10 | Continued Discussion

Mike Tancsa mike at
Fri Jan 28 21:20:16 PST 2005

At 07:49 PM 28/01/2005, Robert Watson wrote:
>On Fri, 28 Jan 2005, Mike Tancsa wrote:
> > At 04:52 AM 28/01/2005, Robert Watson wrote:
> >
> > >Just to get started, using dd to read and write at various block sizes is
> > >probably a decent start.  Take a few samples, make sure there's a decent
> > >sample size, etc, and don't count the first couple of runs.
> >
> >
> > I started over and installed the OS on a separate drive, so that the
> > RAID5 partition was one big partition. Bonnie seems fairly equal on the
> > 2 platforms. I am just putting together all the IOZONE tests as well
> > which I will post later tonight / over the weekend.
>The basic I/O results are encouraging.  Could you remind me which storage
>controller you're using?

3ware 8605 with 4 SATA drives in RAID5.

>For postmark, could you try running the test against a partition with the
>async flag set, but no soft updates turned on?

[nfs]# newfs /dev/twed0s1d
/dev/twed0s1d: 715418.0MB (1465176132 sectors) block size 16384, fragment 
size 2048
         using 3894 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
[nfs]# mount -o async /dev/twed0s1d /mnt
[nfs]# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1d on /usr (ufs, local, soft-updates)
/dev/ad0s1f on /var (ufs, local, soft-updates)
/dev/twed0s1d on /mnt (ufs, asynchronous, NFS exported, local)
[nfs]# postmark
PostMark v1.5 : 3/27/01
pm>set location /mnt
pm>set transactions 400000
pm>set size 300 100000
Creating files...Done
Performing transactions..........Done
Deleting files...Done
         2427 seconds total
         2419 seconds of transactions (165 per second)

         200107 created (82 per second)
                 Creation alone: 500 files (250 per second)
                 Mixed with transactions: 199607 files (82 per second)
         199905 read (82 per second)
         199384 appended (82 per second)
         200107 deleted (82 per second)
                 Deletion alone: 889 files (148 per second)
                 Mixed with transactions: 199218 files (82 per second)

         12715.55 megabytes read (5.24 megabytes per second)
         12728.92 megabytes written (5.24 megabytes per second)

No difference it would seem.

>  Also, could you compare
>with the sync flag on both Linux and FreeBSD (again, no soft updates)?

Linux was with on ext3, so no such option.


More information about the freebsd-performance mailing list