Re: I've ran out of ideas

From: Aaron Glenn (aaron.glenn_at_gmail.com)
Date: 11/19/04

  • Next message: Aaron Glenn: "Re: I've ran out of ideas"
    Date: Thu, 18 Nov 2004 17:53:04 -0800
    To: "lukem.freebsd@cse.unsw.edu.au" <lukem.freebsd@cse.unsw.edu.au>
    
    

    On Fri, 19 Nov 2004 10:11:59 +1100 (EST),
    lukem.freebsd@cse.unsw.edu.au <lukem.freebsd@cse.unsw.edu.au> wrote:
    > 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.

    The /www partition it's reading from was made with -b 65536 and -f 8192.

    > 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.

    That was my first hunch; hence creating a separate partition with
    obscene blocksizes (-:

    > 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.

    I doubt increasing it even more would help. Law of diminishing returns
    and all that; then again I'm no expert. Thoughts?

    Regards,
    aaron.glenn
    _______________________________________________
    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: Aaron Glenn: "Re: I've ran out of ideas"

    Relevant Pages

    • 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: Clustering - how can I.......
      ... the data source for the web server is an NFS file location stored on ... Because the cluster is of DS10Ls, using local IDE storage and the only ... disk image you give it, and the underlying disk can be whatever. ...
      (comp.os.vms)
    • Re: Clustering - how can I.......
      ... the data source for the web server is an NFS file location stored on ... Because the cluster is of DS10Ls, using local IDE storage and the only ... disk image you give it, and the underlying disk can be whatever. ...
      (comp.os.vms)
    • Re: port 80
      ... Frontpage 98 had included with it a product called "Personal Web Server" which it ... Frontpage 98 won't work with disk based webs, it only will create a web site ... So if you have Windows 2000 or Windows XP Professional, IIS can be run on your ...
      (microsoft.public.frontpage.client)
    • knowing when file is flushed to disk
      ... I'm using a Python CGI script on a web server to log data from a remote site ... when the data is actually written to disk and the file closed. ...
      (comp.lang.python)