1748109 Members
4585 Online
108758 Solutions
New Discussion юеВ

Re: some SQUID related

 
kcpant
Trusted Contributor

some SQUID related

Hi friends,

Some questions ( probably having vast answers!) about squid tunning, 1. I want to know which kind of server, how much RAM and how much cache size should be appropriate for a 100 user base ? I know that for better performance one should use a system with high I/O rates.I'm going to use Hp Ml 350 G2 server, having mail server, and firewall (iptables) also.please guide me if some other things to be taken into account for better performance.

one more thing: can you tell me any utility which can be used to check network I/O on a specific port of TCP? I use MRTS to know day-wise overall I/O (in MB)through my external interface, but I want to know how much traffic has been passed on a specific port.

thanks & regards
PreSales Specialist
10 REPLIES 10
Florian Heigl (new acc)
Honored Contributor

Re: some SQUID related

for a hundred users You should be able to dedicate about 1GB RAM and three or for 36GB disks to squid for best performance.
More explicit, You need high transactions / second, not pure I/O, so disks with very low seek times would be beneficial.

As long as they are kept on different disks mail and proxy load won't influence each other too much.

For the port-traffic accountig You'll need some software like (bsd-wise) altq or dummynet, which in the end are traffic shapers.
yesterday I stood at the edge. Today I'm one step ahead.
Huc_1
Honored Contributor

Re: some SQUID related

For Monitoring TCP port I use ethereal

http://www.ethereal.com/

This is already installed on most distribution, ethereal is gui based but there is also a console character based interface called tethereal "These tools will put you ethernet card into promiscuous mode" other usefull tool is iptrafic ( also on most distributions of Linux ) have a look at the man page, with a littel tayloring this is maybe usefull for what you have in mind.

keep us informed.

Jean-Pierre Huc
Smile I will feel the difference
kcpant
Trusted Contributor

Re: some SQUID related

Thanks friends, for a prompt reply.

Dear Huc, in ethreal, I have to permanently monitor the traffic if I want to know I/O on a specific TCP port, that is resource consuming , as I believe. I need some tool which can analyse the required traffic from SNMP data provided by my external interface, like MRTG and MRTS do( but they don't give traffic analysis on a specific port).

thanks & regards
PreSales Specialist
Florian Heigl (new acc)
Honored Contributor

Re: some SQUID related

A workmate of mine just found it:

http://tcng.sourceforge.net/ !!!!

You'll have to set up shaping rules for the ports You're interested in, this works on the fly, after that You call pull stats out of it.
yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: some SQUID related

add one more to the chalkboard:
http://monkey.org/~marius/pages/?page=trickle
yesterday I stood at the edge. Today I'm one step ahead.
kcpant
Trusted Contributor

Re: some SQUID related

Thankx Florian, fpr a prompt reply, but the tools' link you sent, as I understand, are traffic shapers, not traffic monitoring tools..

Thanks & ragards
PreSales Specialist
Huc_1
Honored Contributor

Re: some SQUID related

Yes, you are right !

I should have read your question more carefully, to amend have a look at the following link and see if you can not find what you are looking for

http://www.linuxlinks.com/Software/Monitoring/Network/

I have little time now or I would have done more search on finding just the right light tool to get statistic from just a port....


Jean-Pierre
Smile I will feel the difference
Florian Heigl (new acc)
Honored Contributor

Re: some SQUID related

As I wrote - You won't get Your statistics without piping them through a traffic shaper.
This does not imply actually bandwidth limiting the traffic, it's just about putting it through different queues which then can be accounted.

Usually that's the way it's done.
yesterday I stood at the edge. Today I'm one step ahead.
kcpant
Trusted Contributor

Re: some SQUID related

Thanks Huc & Florian,

Huc, nice to see so many tools for monitoring, but I'll be highly oblized if you can tell me which one will suite my requirement.

Thnks & regards
PreSales Specialist