Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SQUID and RAID
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Thu Feb 09, 2006 6:12 pm    Post subject: SQUID and RAID Reply with quote

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
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Tue Feb 14, 2006 11:34 am    Post subject: Reply with quote

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
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Tue Feb 14, 2006 1:44 pm    Post subject: g00d to hear Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum