From: "Alexey Novikov" <Shader@yandex.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ip link show &пониже скорость?
Date: Mon, 15 Dec 2003 10:17:55 +0300 (MSK)
Message-ID: <3FDD6023.000009.25083@soapbox.yandex.ru> (raw)
In-Reply-To: <3FD9B38F.5010408@aeroflot-don.ru>
>Есть
>[root@xxx root]# ip link show
>1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>2: eth0: <BROADCAST,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen
>100 *из ADSL модема*
> link/ether 00:10:48:5e:0a:2a brd ff:ff:ff:ff:ff:ff
>3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> link/ether 00:01:02:16:82:43 brd ff:ff:ff:ff:ff:ff
>4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen
>3 *ADSL подключение*
> link/ppp
>
>Вопрос
>Почему mtu разные у eth0 и ppp0?
>Что будет если eth0 по максимуму отправит (т.е. пекет в 1500) на ppp0?
>Полез в эти дебри по проблеме описанной ниже(с ответом из fido).
>
>ПЕ> Есть довольно загадочная проблема. Обычное ADSL-подключение (параметры
>ПЕ> ниже, чего не хватает - скажите), но если один процесс начинает
>ПЕ> использовать подключение, то делает это на полную катушку, не оставляя
>ПЕ> другим ничего. Например, отправляет MTA наружу почту - и time в пинге
>ПЕ> увеличивается как минимум в 100 раз, а большая часть пингов просто
>ПЕ> теряются, HTTP-запросы не проходят и т.д.
> Проблема стандартная: eth0 льет в модем больше, чем тот успевает передать.
> Искать "решение" по ключевым словам tc, tbf, cbq, htb, egress, bandwidth,
> lartc.org. :) С одним каналом - только шейпить и снижать mtu до
>
>Скорее всего это правильный ответ т.к. если кто-то что-то качает то со
>связью вроде все нормально.
>Может можно проще решить проблему чем tc, tbf, cbq, htb, egress,
>bandwidth а просто указать скорость сетевой карте например не 10Мб а
>1Мб. Вот только как ?
Посмотрите вот эту статью, думаю это как раз оно:
http://gazette.linux.ru.net/rus/articles/adsl_bandwidth_management-howto.html
--
С уважением,
Алексей Новиков
next prev parent reply other threads:[~2003-12-15 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 12:24 [Comm] ip link show & пониже скорость? Igor
2003-12-15 7:17 ` Alexey Novikov [this message]
2003-12-15 17:01 ` [Comm] ip link show &пониже скорость? Igor
2003-12-16 5:38 ` [Comm] ip link show&пониже скорость? Alexey Novikov
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=3FDD6023.000009.25083@soapbox.yandex.ru \
--to=shader@yandex.ru \
--cc=community@altlinux.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git