ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] tc + pppd
Date: Mon, 4 Feb 2008 19:52:57 +0300
Message-ID: <200802041952.58126.peet@altlinux.ru> (raw)
In-Reply-To: <200802041745.53607.n_list@mail.ru>

В сообщении от Monday 04 February 2008 17:45:53 Александр Новосёлов написал(а):
<skip />
> См. соседнее письмо с большими подробностями.
>
> работает - Master 2.4 - 2.4.26-srv-up-alt13.1 (изменения в ядре только на
> число pty 256 -> 2048)
>
<skip />

Обратите внимание на размеры буфера (запрашиваемые и фактические) в обоих
случаях.

# tc qdisc change dev ppp0 root tbf rate 1024kbit latency 50ms burst 268kb

# tc -s qdisc show dev ppp0
qdisc tbf 8001: rate 1024Kbit burst 268Kb lat 50.0ms
 Sent 2100 bytes 25 pkt (dropped 0, overlimits 142 requeues 0)
 rate 0bit 0pps backlog 0b 22p requeues 0

# tc qdisc change dev ppp0 root tbf rate 1024kbit latency 50ms burst 269kb

# tc -s qdisc show dev ppp0
qdisc tbf 8001: rate 1024Kbit burst 4294692419b lat 54.5ms
 Sent 2100 bytes 25 pkt (dropped 0, overlimits 142 requeues 0)
 rate 0bit 0pps backlog 0b 22p requeues 0

Багофича (при большей скорости больший размер буфера устанавливается).
Сейчас буду смотреть, чья именно.

-- 
Peter V. Saveliev

  reply	other threads:[~2008-02-04 16:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-04 10:52 Александр Новосёлов
2008-02-04 14:01 ` Peter V. Saveliev
2008-02-04 14:45   ` Александр Новоселов
2008-02-13 12:07     ` Mike
2008-02-04 14:45   ` Александр Новосёлов
2008-02-04 16:52     ` Peter V. Saveliev [this message]
2008-02-07  7:22       ` Александр Новосёлов
2008-02-07  7:32         ` Peter V. Saveliev
2008-02-07  8:25           ` Александр Новосёлов
2008-02-07 11:08             ` Peter V. Saveliev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802041952.58126.peet@altlinux.ru \
    --to=peet@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git