View previous topic :: View next topic |
Author |
Message |
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Thu Feb 09, 2006 6:12 pm Post subject: SQUID and RAID |
|
|
i'm setting up a new squid caching proxy. performance is the main thing, data integrity/redundancy is not an issue, if the cached files are gone, they just get downloaded again.
i'm interested in your opinions on putting the cache-dirs on a hardware-raid (6 scsi-disks, 2 as raid-1 for the os, 2x2 as raid-0 for the cache-dirs/partitions).
i only hear/read that raid is no good for squid, but if this is a hardware-raid the os only "sees" one disk and the controller takes care of the rest, so raid-0 should be faster than writing the data on one or more disks serially (shouldn't it?). at least i expect a raid-0 in this case to be a little faster than just "normal" disks.
(i know there's a lot of other factors in squid performance, i'm just interested in the raid-issue right now)
please tell me your experiences/opinions on this. (thx for the input :) ) |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
Posted: Tue Feb 14, 2006 11:34 am Post subject: |
|
|
If the only issue is performance I see no reason whatsoever why you should fear using RAID0 for the task. A few years ago the software RAID in Linux was not as good as it is today (In my experience), but it not playing fair with Squid is just a myth. _________________ Please provide detailed tracebacks and your emerge --info when posting compile errors.
Add [SOLVED] to the thread's topic if you feel that your question has been anwered or your problem is solved. |
|
Back to top |
|
|
DawgG l33t
Joined: 17 Sep 2003 Posts: 866
|
Posted: Tue Feb 14, 2006 1:44 pm Post subject: g00d to hear |
|
|
that's what i hoped to hear. i've been using a squid webcache with a software-ide-raid-0 for more than one year; it runs like a charm, i'm only afraid the ide-disks will die some time. i also hope the scsi-disks will increase performance.
i'll do this the way described in my initial post. |
|
Back to top |
|
|
|