Re: I've ran out of ideas

lukem.freebsd_at_cse.unsw.edu.au
Date: 11/19/04

  • Next message: Sean Chittenden: "Re: I've ran out of ideas"
    To: Aaron Glenn <aaron.glenn@gmail.com>
    Date: Fri, 19 Nov 2004 10:11:59 +1100 (EST)
    
    

    On Thu, 18 Nov 2004, Aaron Glenn wrote:

    > d# dd if=/dev/ad2s1 of=/dev/null bs=64k count=1000
    > 1000+0 records in
    > 1000+0 records out
    > 65536000 bytes transferred in 1.353203 secs (48430278 bytes/sec)
    > d#
    >
    > iostat has never gone above 3.8MB/s

    The simple answer is that both iostat and dd are giving you the correct
    results. Try your dd again with a smaller block size (like the 512 byte
    default) and you should see that disk throughput is closer to what you are
    seeing for your web server.

    I would theorise that your web server is probably only issuing fairly
    small disk reads, so your network performance is being bound by the disk.
    To test this theory, you could:

    * create an mfs partition and serve off it to see what kind of performance
       you can get
    * see if you can tweak the web server to use larger reads and writes.

    In your original message you said that increasing the disk block size
    improved performance, which would also indicate that you are being limited
    by disk performance.

    -- 
    Luke
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    

  • Next message: Sean Chittenden: "Re: I've ran out of ideas"

    Relevant Pages

    • Re: Ive ran out of ideas
      ... >> small disk reads, so your network performance is being bound by the disk. ... is issuing larger reads. ... >> In your original message you said that increasing the disk block size ... if your web server supports sendfile then that would ...
      (freebsd-performance)
    • Re: Iostat Question (OSF1)
      ... >The output from this example displays cpu, terminal, and disk ... The iostat Command ... The following example shows disk statistics gathered every five ... show statistics for the terminal, disks, and CPU ...
      (comp.unix.solaris)
    • Is this disk healthy or about to die ??
      ... -E doesn't suggest the disk is experiencing ongoing issues (see iostat ... I can access the slice mounted on the disk with no issues.... ... Fidessa plc - Registered office: ... Dukes Court, Duke Street, Woking, Surrey, GU21 5BH, United Kingdom ...
      (SunManagers)
    • SATA 3ware RAID review...sort of.
      ... Details of a web server upgrade using SATA RAID5 drives. ... External disk case for SCSI SCA 10k RPM drives. ...
      (freebsd-isp)
    • Re: zfs - move pool to new device?
      ... compare zpool iostat and plain iostat on each disk itself. ... tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy ...
      (comp.unix.solaris)