* [LARTC] guarantee package delivery
@ 2006-01-14 21:41 Vladimir S. Petukhov
2006-01-14 23:29 ` Andreas Klauer
2006-01-15 12:52 ` Vladimir S. Petukhov
0 siblings, 2 replies; 3+ messages in thread
From: Vladimir S. Petukhov @ 2006-01-14 21:41 UTC (permalink / raw)
To: lartc
Hi to all!
Sorry for my English :)
The problem:
We have a shaper software based on tc linux shaper/filter. This software
('shaper') work with one interface ('eth0') with fixed bandwidth and limit
user (above 100 user each time) bandwidth accordingly user's tariff plan.
User traffic filter based on destination (user) ip. There a lot of connection
types: OpenVPN, ipip, PPP...
But we want to provide guaranted bandwidth to ONE userspace application
(filter may be applied by port number). Moreover - packets must not be
dropped! One of the obviously decisions: Module (kernel) must inform
userspace about current bandwidth or data amout, that programm can be send
this moment.
How it can be done?
Thanks....
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] guarantee package delivery
2006-01-14 21:41 [LARTC] guarantee package delivery Vladimir S. Petukhov
@ 2006-01-14 23:29 ` Andreas Klauer
2006-01-15 12:52 ` Vladimir S. Petukhov
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Klauer @ 2006-01-14 23:29 UTC (permalink / raw)
To: lartc
On Sun, Jan 15, 2006 at 12:41:31AM +0300, Vladimir S. Petukhov wrote:
> Moreover - packets must not be dropped!
Sorry for this useless answer, but... How strong is this condition?
I mean, even if you don't drop a packet locally, it can still be
dropped by the target machine, or by one of the routers in between.
You have no influence on that whatsoever, so no matter what you do,
your application must be able to handle dropped packets.
If you think about it that way, is it still critical when a packet
gets dropped locally? If not, you could just do this the usual way.
> One of the obviously decisions: Module (kernel) must inform
> userspace about current bandwidth or data amout, that programm can be send
> this moment.
Does the kernel even know about that?
Regards,
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] guarantee package delivery
2006-01-14 21:41 [LARTC] guarantee package delivery Vladimir S. Petukhov
2006-01-14 23:29 ` Andreas Klauer
@ 2006-01-15 12:52 ` Vladimir S. Petukhov
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir S. Petukhov @ 2006-01-15 12:52 UTC (permalink / raw)
To: lartc
>> Moreover - packets must not be dropped!
>Sorry for this useless answer, but... How strong is this condition?
> I mean, even if you don't drop a packet locally, it can still be
> dropped by the target machine, or by one of the routers in between.
> You have no influence on that whatsoever, so no matter what you do,
> your application must be able to handle dropped packets.
No. There are no routers and no any other hosts between server and client
machine. There are only ... air and space :) . I talk about sattelite link
with 100% qality within fixed bandwidth. In way from server to client only a
shaper can drop packets.
This programm (client-server) use this characteristic (this and some other)
and "accellerate Internet access". But any packet loss entail speed fall and
a lot off "land" high-proced traffic.
> Does the kernel even know about that?
Of course. We use HTB to separate speed between user, and may be logic
implemented, that guaranted package delivering to the network adapter. That
all we need: do not filter THIS traffic at all - talk about availible
"traffic" to userspace programm (using tokens, e.g. or in some other way).
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-15 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-14 21:41 [LARTC] guarantee package delivery Vladimir S. Petukhov
2006-01-14 23:29 ` Andreas Klauer
2006-01-15 12:52 ` Vladimir S. Petukhov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.