Faire un don ! | | style | statistiques | contactez-nous | plan | lettre d'information

Retourner aux forums || Retourner au forum Linux.general

Linux.general : QoS

Posté par Diplodocus (Jabber id, page perso, ) le 02 avril 2006
Bonjour,

Est-il possible d'utiliser le QoS pour mettre en place une limite d'upload sur un utilisateur ou un logiciel particulier ?

Sinon connaissez-vous une méthode ? (par table de routage, bien que je doute qu'on puisse faire ça avec, ou par un autre procédé).

Si oui, où pourrais trouver une documentation permettant de le mettre en place ?

Je vous remercie d'avance, ;)

--
Ulrich
Java pas bien, Java l'dire à ma mère.
> Lire le message (3 commentaires, moyenne: 1,7).  

Cette discussion est archivée, il n'est plus possible de laisser des commentaires.

Note : les commentaires appartiennent à ceux qui les ont postés. Nous n'en sommes pas responsables.

nufw

Posté par Adrien BUSTANY (Jabber id, page perso, ) le 02/04/2006 à 14:19. (lien). Évalué à 2.

C'est peut être un marteau pour écraser une mouche, mais je crois que nufw sait faire ça.

trickle

Posté par mmMMOoooOMMmm () le 02/04/2006 à 15:44. (lien). Évalué à 2.

Pour un soft particulier.

trickle - a lightweight userspace bandwidth shaper

trickle [-h ] [-v ] [-V ] [-s ] [-d rate ] [-u rate ] [-w length ] [-t time ] [-l length ] [-n path ] command ...

DESCRIPTION

trickle is a userspace bandwidth manager. Currently, trickle supports the shaping of any SOCK_STREAM (see socket(2)) connection established via the socket(2) interface. Furthermore, trickle will not work with statically linked executables, nor with setuid(2) executables. trickle is highly configurable; download and upload rates can be set separately, or in an aggregate fashion.

The options are as follows:

-h
Displays help.
-v
Increases the verbosity level (can be specified multiple times).
-V
Prints version.
-s
Runs trickle in standalone mode, independent of trickled(8).
-d rate
Limit the download bandwidth consumption to rate KB/s.
-u rate
Limit the upload bandwidth consumption to rate KB/s.
-w length
Set peak detection window size to length KB. This determines how aggressive trickle is at eliminating bandwidth consumption pea ks. Lower values will be more aggressive, but may also result in over shaping. The default value (512 KB) is usually sufficient.
-t seconds
Set smoothing time to seconds s. The smoothing time determines with what intervals trickle will try to let the application transcieve data. Smaller values will result in a more continuous (smooth) session, while larger values may produce bursts in the sending and receiving data. Smaller values (0.1 - 1 s) are ideal for interactive applications while slightly larger values (1 - 10 s) are better for applications that need bulk transfer.
-l length
Set smoothing length to length KB. The smoothing length is a fallback of the smoothing time. If trickle cannot meet the requested smoothing time, it will instead fall back on sending length KB of data. The default value is 10 KB.
-n path
Use trickled(8) socket path to communicate with trickled(8). By default, /tmp/.trickled.sock is used.

EXAMPLES


trickle -u 10 -d 20 ncftp

Launch ncftp(1) limiting its upload capacity to 10 KB/s, and download capacity at 20 KB/s.

SEE ALSO


trickled(8), syslog(3), socket(2), netintro(4)

AUTHORS


trickle has been developed by Marius Aamodt E riksen Aq marius@monkey.org .

BUGS


Does not support executables utilizing kqueue(2). Does not support statically linked executables.

Merci

Posté par Diplodocus (Jabber id, page perso, ) le 04/04/2006 à 09:35. (lien). Évalué à 1.

Ok.
Je vous remercie. Je vais regarder ces deux programmes.

--
Ulrich
Java pas bien, Java l'dire à ma mère.

Revenir en haut de page || Retourner aux forums || Retourner au forum Linux.general