From mboxrd@z Thu Jan 1 00:00:00 1970 From: ganesh palwe Date: Wed, 22 Jan 2003 01:07:19 +0000 Subject: Re: [LARTC] how to determine tcp rate & classifying packet info MIME-Version: 1 Content-Type: multipart/mixed; boundary="0-7173661-1043197639=:62266" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --0-7173661-1043197639=:62266 Content-Type: text/plain; charset=us-ascii > >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 --0-7173661-1043197639=:62266 Content-Type: text/html; charset=us-ascii

> >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 --0-7173661-1043197639=:62266-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/