Re: [zfs-discuss] zfs as a cache server

2009-04-16 Thread Robert Milkowski
Hello Jean-Noël, Thursday, April 9, 2009, 3:39:50 PM, you wrote: JNM> Hi François, JNM> You should take care of the recordsize in your filesystems. This should JNM> be tuned according to the size of the most accessed files. I don't think this is necessary and it will rather do more harm than go

Re: [zfs-discuss] zfs as a cache server

2009-04-09 Thread Scott Lawson
Hi Francois, I use ZFS with Squid proxies here at MIT. (MIT New Zealand that is ;)) My basic set up is like so. - 2 x Sun SPARC v240's dual CPU's with 2 x 36 GB boot disks and 2 x 73 GB cache disks. Each machine has 4GB RAM. - Each has a copy of squid, Squidguard and an apache server. - A

Re: [zfs-discuss] zfs as a cache server

2009-04-09 Thread Jean-Noël Mattern
Hi François, You should take care of the recordsize in your filesystems. This should be tuned according to the size of the most accessed files. Maybe disabling the "atime" is also good idea (but it's probably something you already know ;) ). We've also noticed some cases where enabling compress

Re: [zfs-discuss] zfs as a cache server

2009-04-09 Thread Greg Mason
Francois, Your best bet is probably a stripe of mirrors. i.e. a zpool made of many mirrors. This way you have redundancy, and fast reads as well. You'll also enjoy pretty quick resilvering in the event of a disk failure as well. For even faster reads, you can add dedicated L2ARC cache devic

[zfs-discuss] zfs as a cache server

2009-04-09 Thread Francois
Hello list, What would be the best zpool configuration for a cache/proxy server (probably based on squid) ? In other words with which zpool configuration I could expect best reading performance ? (there'll be some writes too but much less). Thanks. -- Francois ___