LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   QoS with proxy cache not working as intended (https://www.linuxquestions.org/questions/linux-general-1/qos-with-proxy-cache-not-working-as-intended-493603/)

ismilach 10-18-2006 02:45 PM

QoS with proxy cache not working as intended
 
Hey guys,

I'm setting up a proxy/cache (squid) with QoS (HTB/prometheus) to limit the bandwidth...

It's working great, doing what it's supposed to do.

The only thing I wanna do and don't know how (don't even know if it's possible, really), is to bypass bandwidth limiting when an object is found on squid's cache.

It's 'quite simple', when the object is found on squid's cache (TCP_HIT or something), the
user downloads it at the full NIC speed (100Mbps here), otherwise (TCP_MISS eg), QoS rules are applied (limiting to 256 kbps for instance)... is it possible?

Delay_pools wouldn't help me, right? It reserves bandwidth and doesn't just limit it (to a max.), as far as I know.

Any tips?

Thanks!
Ismael
Brazil

razametal 10-10-2012 08:11 PM

Quote:

Originally Posted by ismilach (Post 2468360)
Hey guys,

I'm setting up a proxy/cache (squid) with QoS (HTB/prometheus) to limit the bandwidth...

It's working great, doing what it's supposed to do.

The only thing I wanna do and don't know how (don't even know if it's possible, really), is to bypass bandwidth limiting when an object is found on squid's cache.

It's 'quite simple', when the object is found on squid's cache (TCP_HIT or something), the
user downloads it at the full NIC speed (100Mbps here), otherwise (TCP_MISS eg), QoS rules are applied (limiting to 256 kbps for instance)... is it possible?

Delay_pools wouldn't help me, right? It reserves bandwidth and doesn't just limit it (to a max.), as far as I know.

Any tips?

Thanks!
Ismael
Brazil


Hi Ismael,

I'm using prometheusQoS on a box with squid 2.7 in transparent mode. PrometheusQoS is not shapping the uploads with the transparent proxy enabled. Have you the same situation?

Sorry for opening this old thread.

Best regards,


All times are GMT -5. The time now is 06:24 PM.