From: "Vasiliy D. Sevostyanov" <dil8016@mail.ru>
To: ruslandh@gmail.com,
ALT Linux Community general discussions
<community@lists.altlinux.org>
Subject: Re: [Comm] Как уменьшить скорость на Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Date: Sat, 20 Aug 2016 13:07:10 +0300
Message-ID: <20160820100710.GA5556@a1bd44.localdomain> (raw)
In-Reply-To: <201608201208.27804@ruslandh>
Hi, you wrote 12:08 Sat 20 Aug :
> Здравствуйте Vasiliy D. Sevostyanov
> В сообщении от 20 августа 2016 Vasiliy D. Sevostyanov
> написал(a):
>>>#modinfo r8168
>>>vermagic: 4.6.7-un-def-alt0.M80P.1 SMP preempt mod_unload
>>>modversions
>>>parm: speed:force phy operation. Deprecated by ethtool
>>>(8). (ushort)
>>>parm: duplex:force phy operation. Deprecated by ethtool
>>>(8). (int)
>>>parm: autoneg:force phy operation. Deprecated by
>>>ethtool (8). (int)
>>>parm: aspm:Enable ASPM. (int)
>>>parm: s5wol:Enable Shutdown Wake On Lan. (int)
>>>parm: rx_copybreak:Copy breakpoint for
>>>copy-only-tiny-frames (int)
>>>parm: timer_count:Timer Interrupt Interval. (int)
>>>parm: eee_enable:Enable Energy Efficient Ethernet.
>>>(int)
>>>parm: hwoptimize:Enable HW optimization function.
>>>(ulong)
>>>parm: debug:Debug verbosity level (0=none, ..., 16=all)
> > ethtool -s eth0 speed 100
>
> Не прокатывало - говорило, что не может (дословно сейчас не могу
> воспроизвести) - это первое, что попробовал.
>
> Мне кажется, что можно через опции ядерного модуля можно (в
> modinfo есть что-то про скорость), но я не понял ни синтаксиса,
> ни куда его правильно вписать.
Я, конечно, не спец, но по описанию выше эти опции отмечены как
устаревшие и поглощенные ethtool... То есть если ethtool не работает, то
они тем более не смогут.
А синтаксис несложный:
можно на время проверить в консоли:
modprobe -r r8168 ; sleep 3; modprobe r8168 speed=100 ;
можно в /etc/modprobe.d/ создать файлик r8168.conf
с содержимым `options r8168 speed=100` ;
можно при загрузке дописать в строку ядра `r8168.speed=100` ;
> > Еще можно попробовать отключить авто-согласование (если
> > включено, проверяется по `ethtool eth0`):
> > ethoot -s eth0 autoneg off
> А вот так не пробовал. Надо будет попробовать (сейчас этот роутер
> недоступен, но потом наверное добью этот вопрос, т.к. по идее он
> более современный, чем тот, которым сейчас использую).
Вообще есть еще вариант проблем с кабелем -- на 1G используются все 8 жил, а
на 100M только 4...
--
С уважением, Василий Д. Севостьянов.
next prev parent reply other threads:[~2016-08-20 10:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-20 7:43 Hihin Ruslan
2016-08-20 8:27 ` Alexander
2016-08-20 8:31 ` Hihin Ruslan
2016-08-20 9:01 ` Vasiliy D. Sevostyanov
2016-08-20 9:08 ` Hihin Ruslan
2016-08-20 10:07 ` Vasiliy D. Sevostyanov [this message]
2016-08-20 11:24 ` Sergey
2016-08-20 12:59 ` Hihin Ruslan
2016-08-20 13:54 ` Hihin Ruslan
2016-08-21 6:51 ` Sergey
2016-08-25 9:26 ` Ruslan
2016-08-20 9:54 ` Anton Gorlov
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=20160820100710.GA5556@a1bd44.localdomain \
--to=dil8016@mail.ru \
--cc=community@lists.altlinux.org \
--cc=ruslandh@gmail.com \
/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