What's new

Can I speed up Squid puting caching/logs on a flash drive?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

rpifan

New Around Here
Ive got IPFire running on a RPi B+ and I wondered if it would be worth moving the Squid cache and logs over to a fast USB drive? I've currently got a class 4 SD card so wondered if using an 8 or 10 would also help.
 
Only the writes would increase, the reads are mostly CPU limited for you
 
in a user heavy environment a hard drive would be faster than a flash drive because of throughput. For logs putting it on a seperate drive other than the cache would make it a bit faster.
 
On my device I write the squid logs /tmp/logs which is RAM based. I then used logrotate every hour to copy of them off to a flash drive. This seems to work well.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top