[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: swaps and partition mounts



On Fri, Mar 22, 2002 at 12:11:57PM -0800, David S. wrote:

> Putting your web content on a separate partition on the root disk
> won't do much for I/O performance (OK, I have read reports here of 
> the outer cylinders of some disks being faster or slower than the
> inner), but it would prevent an errant process writing to the web
> directory from filling up that disk.  If you want better I/O, put
> the web content on a separate spindle; even better, on a separate
> spindle on a separate SCSI controller; better yet, striped across
> two spindles; more, striped across two spindles on two separate
> controllers ...
> 
> Want even better I/O performance for static web content?  Here's
> a crazy idea (which I haven't tried, and which somebody here may
> shoot down as unfeasible/impossible/stupid): stuff your system
> with as much RAM as you can, and serve up your HTML out of the 
> memory file system.

 Why? I'm using squid rproxy with OpenBSD and performance is really impres
 sive, much less load on my webservers and I can load balance some stuff
 using cache_peer.

Gustavo