Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've set up a squid server to use as a proxy (with various ACLs). During testing (with just me on the server) and the CPU is 100% utilized and the internet seems "slow" (well I know the end users will say as such)...
Here is what I got...
Code:
[root@squid1 squid]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 0.9.0
stepping : 3
cpu MHz : 3000.156
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm up nonstop_tsc pni
bogomips : 6000.31
[root@squid1 squid]# free -mo
total used free shared buffers cached
Mem: 2004 782 1222 0 121 295
Swap: 2047 0 2047
Ok okay...I know what you're going to say...BUT before you say ANYTHING remember that squid does NOT support SMP (i.e. no matter how many processors I have it will still only use 1)
And as you can see memory is not an issue...PLUS it's just ME on the server....
So before you say "throw more hardware" at it...why would it be slow if it's only serving me?
Did you run top to see what is eating cpu cycles? Do you know for sure it is squid or something else?
Also, from your posting it appears you're running squid on a virtual machine via QEMU. If so, is there a way to "tune" QEMU to improve performance? I haven't worked much with virtual machines, so I'm just throwing this out there.
Did you run top to see what is eating cpu cycles? Do you know for sure it is squid or something else?
Also, from your posting it appears you're running squid on a virtual machine via QEMU. If so, is there a way to "tune" QEMU to improve performance? I haven't worked much with virtual machines, so I'm just throwing this out there.
Out of my depth on the VM aspect here, but this isn't just a case of the VM only getting out this much time because it only wants to use this much time, is it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.