I did some other testing of the AHCI driver. Again, using CPU: AMD Phenom(tm) 9950 Quad-Core Processor (2608.81-MHz K8-class CPU) with RAM limited to 2G real memory = 8589934592 (8192 MB) avail memory = 2060632064 (1965 MB) ATI IXP700/800 SATA300 controller Doing some buildworld comparisons the ahci is a very tiny bit slower when a dedicated drive is used as /usr/obj #!/bin/sh cd /usr/src grep -ir blah * > /dev/null for i in `jot 5` do date echo $i newfs /dev/ad10 > /dev/null mount /dev/ad10 /usr/obj sleep 10 date time make -j8 buildworld > /var/log/build.out date sleep 20 sync umount -f /usr/obj done and changing the above to be /dev/ada1 when testing with AHCI 0(freebsd-current2)% strings buildworld.ata | grep real 1484.51 real 4049.46 user 610.31 sys 1520.44 real 4055.02 user 612.02 sys 1500.76 real 4055.16 user 618.19 sys 1494.28 real 4057.88 user 614.68 sys 1498.65 real 4059.30 user 620.87 sys 0(freebsd-current2)% strings buildworld.ahci | grep real 1510.02 real 4069.71 user 614.54 sys 1510.29 real 4071.67 user 623.93 sys 1516.05 real 4070.56 user 626.20 sys 1517.72 real 4072.88 user 624.13 sys 1520.88 real 4072.99 user 625.03 sys REAL N Min Max Median Avg Stddev ata 5 1484.51 1520.44 1498.65 1499.728 13.157529 ahci 5 1510.02 1520.88 1516.05 1514.992 4.7449837 USER N Min Max Median Avg Stddev ata 5 4049.46 4059.3 4055.16 4055.364 3.7695994 ahci 5 4069.71 4072.99 4071.67 4071.562 1.433691 SYS N Min Max Median Avg Stddev ata 5 614.54 626.2 624.13 622.766 4.6850966 ahci 5 614.54 626.2 624.13 622.766 4.6850966 Running the postmark benchmark 5 times with set size 29300 650000 set transactions 20000 set location /mnt/tmp set subdirectories 90 set number 9000 run quit on a dedicated drive that I would newfs between tests, AHCI is consistently better, sometimes wildly so. e.g PostMark v1.51 : 8/14/01 Reading configuration from file '/root/pm.pm' Creating subdirectories...Done Creating files...Done Performing transactions..........Done Deleting files...Done Deleting subdirectories...Done Time: 794 seconds total 678 seconds of transactions (29 per second) Files: 18980 created (23 per second) Creation alone: 9000 files (77 per second) Mixed with transactions: 9980 files (14 per second) 9986 read (14 per second) 10014 appended (14 per second) 18980 deleted (23 per second) Deletion alone: 8960 files (8960 per second) Mixed with transactions: 10020 files (14 per second) Data: 3748.66 megabytes read (4.72 megabytes per second) 7366.29 megabytes written (9.28 megabytes per second) x ata-create + ahci-create N Min Max Median Avg Stddev x 5 43 82 69 66.6 14.808781 + 5 67 86 77 76.8 7.5960516 x ata-create-mixed + ahci-create-mixed N Min Max Median Avg Stddev x 5 10 14 12 12.2 1.7888544 + 5 13 14 13 13.4 0.54772256 x delete-ata + delete-ahci N Min Max Median Avg Stddev x 5 1493 8960 8960 7466.6 3339.3439 + 5 8960 8960 8960 8960 0 x delete-mixed-ata + delete-mixed-ahci N Min Max Median Avg Stddev x 5 10 14 12 12.2 1.7888544 + 5 13 15 13 13.6 0.89442719 ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike_at_sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mikeReceived on Wed Aug 05 2009 - 13:12:31 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:53 UTC