[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: swaps and partition mounts
> The current question being explored is for servers that
> run dedicated services such as web, mail or whatever
> and whether using partitions for its various functions.
> Lets assume its apache on OpenBSD3.0. Does anyone
> have any emotions towards running apache on its own
> partition and the webcontent on another partition
> or something similar? emotions on i/o resonse speed
> on a partition mounted on '/' vs multiple mount
> locations?
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.
David S.