Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

QoS marking by default on sockets

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


philipp_subx at redfish-solutions

Oct 2, 2009, 2:04 PM

Post #1 of 3 (361 views)
Permalink
QoS marking by default on sockets

Hi.

I haven't contributed to Apache in about 10 years, so it's been a while
since I've stared at the source.

I did, however, recently pull down the 2.2.13 tarball and did:

[philipp [at] builde ~/httpd-2.2.13]$ find . -type f -print | xargs grep IP_TOS
[philipp [at] builde ~/httpd-2.2.13]$


Hmmm. Any reason that HTTP traffic wouldn't be QoS marked so that it
can be handled properly?

(Assuming that we have or will have net-neutrality... ;-) )

I just don't want software updates (which aren't time critical but *do*
suck down huge amounts of bandwidth) degrading my VoIP service...

Seems reasonable, right?

Of course, we could mark all open sockets as AF11 (for instance)... but
then if you have a cgi plugin generating video, it would have to
re-setsockopt() the socket to remark the traffic appropriately... Is
that overly burdensome? Or reasonable?

Thanks,

-Philip


paul at querna

Oct 2, 2009, 2:11 PM

Post #2 of 3 (324 views)
Permalink
Re: QoS marking by default on sockets [In reply to]

On Fri, Oct 2, 2009 at 2:04 PM, Philip A. Prindeville
<philipp_subx [at] redfish-solutions> wrote:
> Hi.
>
> I haven't contributed to Apache in about 10 years, so it's been a while
> since I've stared at the source.
>
> I did, however, recently pull down the 2.2.13 tarball and did:
>
> [philipp [at] builde ~/httpd-2.2.13]$ find . -type f -print | xargs grep IP_TOS
> [philipp [at] builde ~/httpd-2.2.13]$
>
>
> Hmmm.  Any reason that HTTP traffic wouldn't be QoS marked so that it
> can be handled properly?
>
> (Assuming that we have or will have net-neutrality... ;-) )
>
> I just don't want software updates (which aren't time critical but *do*
> suck down huge amounts of bandwidth) degrading my VoIP service...
>
> Seems reasonable, right?
>
> Of course, we could mark all open sockets as AF11 (for instance)... but
> then if you have a cgi plugin generating video, it would have to
> re-setsockopt() the socket to remark the traffic appropriately...  Is
> that overly burdensome?  Or reasonable?

A patch to configure it at runtime (maybe per-directory?) would be a
reasonable thing to include.

Wouldn't be that bad, just a request output filter that set the socket
opt and then removed itself.


philipp_subx at redfish-solutions

Oct 5, 2009, 10:45 AM

Post #3 of 3 (310 views)
Permalink
Re: QoS marking by default on sockets [In reply to]

On 10/02/2009 02:11 PM, Paul Querna wrote:
> On Fri, Oct 2, 2009 at 2:04 PM, Philip A. Prindeville
> <philipp_subx [at] redfish-solutions> wrote:
>
>> Hi.
>>
>> I haven't contributed to Apache in about 10 years, so it's been a while
>> since I've stared at the source.
>>
>> I did, however, recently pull down the 2.2.13 tarball and did:
>>
>> [philipp [at] builde ~/httpd-2.2.13]$ find . -type f -print | xargs grep IP_TOS
>> [philipp [at] builde ~/httpd-2.2.13]$
>>
>>
>> Hmmm. Any reason that HTTP traffic wouldn't be QoS marked so that it
>> can be handled properly?
>>
>> (Assuming that we have or will have net-neutrality... ;-) )
>>
>> I just don't want software updates (which aren't time critical but *do*
>> suck down huge amounts of bandwidth) degrading my VoIP service...
>>
>> Seems reasonable, right?
>>
>> Of course, we could mark all open sockets as AF11 (for instance)... but
>> then if you have a cgi plugin generating video, it would have to
>> re-setsockopt() the socket to remark the traffic appropriately... Is
>> that overly burdensome? Or reasonable?
>>
> A patch to configure it at runtime (maybe per-directory?) would be a
> reasonable thing to include.
>
> Wouldn't be that bad, just a request output filter that set the socket
> opt and then removed itself.
>

I was thinking of marking the socket on listen(), and then having
letting the marking be changed, either by plugins or else by server
directives (as you say, per-directory, or per content-type, etc.)

-Philip

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.