* [LARTC] how to determine tcp rate & classifying packet info
@ 2003-01-21 20:43 ganesh palwe
2003-01-21 21:44 ` Stef Coene
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ganesh palwe @ 2003-01-21 20:43 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
hello everybody
need help
how should i control the tcp rate, is it possible?
also,
suppose i have 2 database tables :
1) one for online accounting &
2) one for online sales updating
now both of these transactions which will update my SQL server databse will be on the same port number
how can i classify these packets so that i can give high bandwidth & highest prio to type 2 packets.
10x in advance.
ganesh.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[-- Attachment #2: Type: text/html, Size: 763 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] how to determine tcp rate & classifying packet info
2003-01-21 20:43 [LARTC] how to determine tcp rate & classifying packet info ganesh palwe
@ 2003-01-21 21:44 ` Stef Coene
2003-01-22 1:07 ` ganesh palwe
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-01-21 21:44 UTC (permalink / raw)
To: lartc
On Tuesday 21 January 2003 21:43, ganesh palwe wrote:
> hello everybody
>
> need help
>
> how should i control the tcp rate, is it possible?
It's possible
www.lartc.org
www.docum.org
> also,
>
> suppose i have 2 database tables :
>
> 1) one for online accounting &
>
> 2) one for online sales updating
>
> now both of these transactions which will update my SQL server databse will
> be on the same port number
>
> how can i classify these packets so that i can give high bandwidth &
> highest prio to type 2 packets.
What if you the iptables helper that can match packet with a string in it? I
think the select is unique so you can see the difference. Once you can
recognise the packets, you can mark them with iptables. That mark can be
used to put the packets in differenct classes so you can configure different
rates for the packets.
But this will suck if you select statement is too big for one packet.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] how to determine tcp rate & classifying packet info
2003-01-21 20:43 [LARTC] how to determine tcp rate & classifying packet info ganesh palwe
2003-01-21 21:44 ` Stef Coene
@ 2003-01-22 1:07 ` ganesh palwe
2003-01-22 9:33 ` Jesper Kold-Hansen
2003-01-22 17:11 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: ganesh palwe @ 2003-01-22 1:07 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1863 bytes --]
> >hello everybody
>>
> >need help
>>
>> how should i control the tcp rate, is it possible?
>It's possible
>www.lartc.org
>www.docum.org
> >also,
>>
> >suppose i have 2 database tables :
>>
> >1) one for online accounting &
>>
> >2) one for online sales updating
>>
> >now both of these transactions which will update my SQL server
databse will
> >be on the same port number
>>
>> how can i classify these packets so that i can give high bandwidth &
>> highest prio to type 2 packets.
>What if you the iptables helper that can match packet with a string in it?
> I think the select is unique so you can see the difference. Once you can
>recognise the packets, you can mark them with iptables. That mark can
>be
>used to put the packets in differenct classes so you can configure
>different
>rates for the packets.
>But this will suck if you select statement is too big for one packet.
>
>Stef
>
--
still needing help !
i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - by Shrikrishna Karandikar).
what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value.
can i implement it? if yes where can i find information?
Ok,next was
for classifying packet by making use of marking
what if i m using u32 classifier instead of fw.
is there utility with u32 to mark packets.
also,
what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service?
10x in advance
ganesh.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
[-- Attachment #2: Type: text/html, Size: 2480 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] how to determine tcp rate & classifying packet info
2003-01-21 20:43 [LARTC] how to determine tcp rate & classifying packet info ganesh palwe
2003-01-21 21:44 ` Stef Coene
2003-01-22 1:07 ` ganesh palwe
@ 2003-01-22 9:33 ` Jesper Kold-Hansen
2003-01-22 17:11 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Jesper Kold-Hansen @ 2003-01-22 9:33 UTC (permalink / raw)
To: lartc
Well red the doc on the cues. I know on the HTB que, there is a rate and a
coil setting. The rate is the rate at wich the packegges are sendt in
kbyte, and the coil is a burst funktion, so if you set the coil and the rate at
the same speed you vil get a specifik rate that your packagges are send.
But it is not easy to controle the actual rate, because when you set a
rate, you actualle drop tcp packagges, the the protocol will slow down by
it self.
Look at the Advanced Routing howto.
CandyMan
On Tue, 21 Jan 2003, ganesh palwe wrote:
>
> > >hello everybody
> >>
> > >need help
> >>
> >> how should i control the tcp rate, is it possible?
>
>
> >It's possible
> >www.lartc.org
> >www.docum.org
>
> > >also,
> >>
> > >suppose i have 2 database tables :
> >>
> > >1) one for online accounting &
> >>
> > >2) one for online sales updating
> >>
> > >now both of these transactions which will update my SQL server
> databse will
> > >be on the same port number
> >>
> >> how can i classify these packets so that i can give high bandwidth &
> >> highest prio to type 2 packets.
> >What if you the iptables helper that can match packet with a string in it?
>
> > I think the select is unique so you can see the difference. Once you can
> >recognise the packets, you can mark them with iptables. That mark can
> >be
> >used to put the packets in differenct classes so you can configure
> >different
> >rates for the packets.
> >But this will suck if you select statement is too big for one packet.
> >
> >Stef
> >
> --
>
>
> still needing help !
> i m very sorry to say that i hardly have got any useful stuff regarding controlling tcp rate, rather packeteer information was good (TCP Rate Control - by Shrikrishna Karandikar).
> what i want to do is everytime i want to establish a connection with any server(say X-server ) on the basis that X should send me data at agreed upon rate, the rate should not increase beyond that value.
> can i implement it? if yes where can i find information?
>
> Ok,next was
> for classifying packet by making use of marking
> what if i m using u32 classifier instead of fw.
> is there utility with u32 to mark packets.
> also,
> what i think is that, classifiers will come into the picture after the connection establishment, so how could they differentiate 2 different type applications for same service?
> 10x in advance
> ganesh.
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] how to determine tcp rate & classifying packet info
2003-01-21 20:43 [LARTC] how to determine tcp rate & classifying packet info ganesh palwe
` (2 preceding siblings ...)
2003-01-22 9:33 ` Jesper Kold-Hansen
@ 2003-01-22 17:11 ` Stef Coene
3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2003-01-22 17:11 UTC (permalink / raw)
To: lartc
On Wednesday 22 January 2003 02:07, ganesh palwe wrote:
> still needing help !
I have simple answer : rtfm.
> i m very sorry to say that i hardly have got any useful stuff regarding
> controlling tcp rate, rather packeteer information was good (TCP Rate
> Control - by Shrikrishna Karandikar). what i want to do is everytime i want
> to establish a connection with any server(say X-server ) on the basis that
> X should send me data at agreed upon rate, the rate should not increase
> beyond that value. can i implement it? if yes where can i find information?
again
www.docum.org
www.lartc.org
> Ok,next was
> for classifying packet by making use of marking
> what if i m using u32 classifier instead of fw.
> is there utility with u32 to mark packets.
rtfm. Fw is a filter that can match packets you marked with iptables/ipchain.
u32 is an other filter that can use any bit in a tcp packet to filter the
packets.
> also,
> what i think is that, classifiers will come into the picture after the
> connection establishment, so how could they differentiate 2 different type
> applications for same service? 10x in advance
See kptd on www.docum.org
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-01-22 17:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-21 20:43 [LARTC] how to determine tcp rate & classifying packet info ganesh palwe
2003-01-21 21:44 ` Stef Coene
2003-01-22 1:07 ` ganesh palwe
2003-01-22 9:33 ` Jesper Kold-Hansen
2003-01-22 17:11 ` Stef Coene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox