<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; transmission-daemon & nfs-kernel-server - проблема]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37825&amp;type=atom" />
	<updated>2015-03-01T20:57:24Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=37825</id>
		<entry>
			<title type="html"><![CDATA[Re: transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447423#p447423" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>Т.е. всё-таки приоритет у процессов nfsd - не максимальный.</p></blockquote></div><p>я давно не трогал NFS, не в курсе. Но вроде-бы у меня приоритета&nbsp; хватало всегда.</p><div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>то для случая максимум одного клиента, как у меня, можно снизить количество процессов nfsd до одного? Или даже при единственном клиенте будут использоваться несколько?</p></blockquote></div><p>это в опциях монтирования что-то такое было, если я правильно путаю. Man nfs который.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2015-03-01T20:57:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447423#p447423</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447421#p447421" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>А как установить ionice для процессов nfsd? В конфиге ничего такого подходящего не нашел.</p></blockquote></div><p>во первых<br /><strong>man 8 nfsiostat</strong> для статистики</p></blockquote></div><p>Спасибо, но вроде как nfsstat, судя по описанию, запускается на стороне клиента? А клиентом у меня выступает некое устройство (Dune Lite 53D - <a href="http://dune-hd.com/rus/products/full_hd_media_players/13),">http://dune-hd.com/rus/products/full_hd … ayers/13),</a> которое умеет монтировать nfs, но вот запустить там что-то нештатное вряд ли возможно нетривиальными способами.<br /></p><div class="quotebox"><blockquote><p>во вторых, nfsd — модуль ядра, я посмотрел конфиг (<strong>man 5 nfs</strong>, <strong>man 5 nfsmount.conf</strong>) там про renice ничего не написано, но вы всё равно почитайте, там много про кеширование.</p><p>AFAIK nfs и так получает самый большой приоритет i/o, т.ч. регулировать его не нужно ИМХО, достаточно подрезать transmission.</p></blockquote></div><p>Тут я немного запутался. htop выдает вот такое:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />glebhappy@debian-server:~$ htop</p><p>&nbsp; 0&nbsp; [|||||&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 13.5%]&nbsp; &nbsp; &nbsp;Tasks: 39, 5 thr, 102 kthr; 1 running<br />&nbsp; 1&nbsp; [||&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.3%]&nbsp; &nbsp; &nbsp;Load average: 3.61 3.78 4.17<br />&nbsp; Mem[||||||||||||||||||||551/1621MB]&nbsp; &nbsp; &nbsp;Uptime: 16 days, 06:50:47<br />&nbsp; Swp[|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 48/1640MB]</p><p>&nbsp; PID USER&nbsp; &nbsp; &nbsp; PRI&nbsp; NI IO S CPU% MEM%&nbsp; &nbsp;TIME+&nbsp; Command<br /> 3082 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:14.50 ├─ nfsd<br /> 3081 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:10.87 ├─ nfsd<br /> 3080 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:16.21 ├─ nfsd<br /> 3079 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:20.17 ├─ nfsd<br /> 3078 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:09.15 ├─ nfsd<br /> 3077 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:18.91 ├─ nfsd<br /> 3076 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:13.62 ├─ nfsd<br /> 3075 root&nbsp; &nbsp; &nbsp; &nbsp;20&nbsp; &nbsp;0 B4 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:18.17 ├─ nfsd<br /> 3073 root&nbsp; &nbsp; &nbsp; &nbsp; 0 -20 B0 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:00.00 ├─ nfsd4_callbacks<br /> 3072 root&nbsp; &nbsp; &nbsp; &nbsp; 0 -20 B0 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:00.00 ├─ nfsd4<br />&nbsp; 607 root&nbsp; &nbsp; &nbsp; &nbsp; 0 -20 B0 S&nbsp; 0.0&nbsp; 0.0&nbsp; 0:00.00 ├─ nfsiod<br /></div></p></div></div><p>Т.е. всё-таки приоритет у процессов nfsd - не максимальный.</p><p>И попутно вопрос - раз пошла такая пьянка ( <img src="https://linuxforum.ru/img/smilies/aa.gif" alt="aa" /> ), то для случая максимум одного клиента, как у меня, можно снизить количество процессов nfsd до одного? Или даже при единственном клиенте будут использоваться несколько?</p>]]></content>
			<author>
				<name><![CDATA[GlebHappy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8356</uri>
			</author>
			<updated>2015-03-01T20:41:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447421#p447421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447419#p447419" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>А как установить ionice для процессов nfsd? В конфиге ничего такого подходящего не нашел.</p></blockquote></div><p>во первых<br /><strong>man 8 nfsiostat</strong> для статистики</p><p>во вторых, nfsd — модуль ядра, я посмотрел конфиг (<strong>man 5 nfs</strong>, <strong>man 5 nfsmount.conf</strong>) там про renice ничего не написано, но вы всё равно почитайте, там много про кеширование.</p><p>AFAIK nfs и так получает самый большой приоритет i/o, т.ч. регулировать его не нужно ИМХО, достаточно подрезать transmission.</p><div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>эта настройка делается через systemd.</p></blockquote></div><p>понятное дело, сейчас всё делается через этот долбанный systemd…</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2015-03-01T20:29:01Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447419#p447419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447382#p447382" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>Хотелось бы как-то расставить приоритеты на ввод/вывод</p></blockquote></div><p><strong>man ionice</strong></p></blockquote></div><p>Спасибо большое, посмотрел.<br />Долго соображал, как это сделать для transmission-daemon, но нагуглил, что эта настройка делается через systemd.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;/lib/systemd/system/transmisssion-daemon.service</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[Unit]<br />Description=Transmission BitTorrent Daemon<br />After=network.target</p><p>[Service]<br />User=debian-transmission<br /><strong><span class="bbu">IOSchedulingClass=best-effort<br />IOSchedulingPriority=7</span></strong><br />Type=notify<br />ExecStart=/usr/bin/transmission-daemon -f --log-error<br />ExecReload=/bin/kill -s HUP $MAINPID</p><p>[Install]<br />WantedBy=multi-user.target</div></p></div></div><p>Судя по тому, что выводит htop - всё получилось, приоритет для transmission-daemon установлен<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;htop</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />glebhappy@debian-server:~$ htop</p><p>&nbsp; 0&nbsp; [|||||||||||||&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 39.8%]&nbsp; &nbsp; &nbsp;Tasks: 34, 5 thr, 102 kthr; 2 running<br />&nbsp; 1&nbsp; [||||||||&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;22.4%]&nbsp; &nbsp; &nbsp;Load average: 2.21 2.27 2.12<br />&nbsp; Mem[||||||||||||||||||||403/1621MB]&nbsp; &nbsp; &nbsp;Uptime: 16 days, 03:21:30<br />&nbsp; Swp[|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 48/1640MB]</p><p>&nbsp; PID USER&nbsp; &nbsp; &nbsp; PRI&nbsp; NI IO S CPU% MEM%&nbsp; &nbsp;TIME+&nbsp; Command<br /> 3220 debian-tr&nbsp; 30&nbsp; 10 <strong><span class="bbu">B7</span></strong> S 49.4 18.7 26:28.75 /usr/bin/transmission-daemon -f<br /> 3223 debian-tr&nbsp; 30&nbsp; 10 <strong><span class="bbu">B7</span></strong> S&nbsp; 0.0 18.7&nbsp; 0:04.60 /usr/bin/transmission-daemon -f<br /> 3221 debian-tr&nbsp; 30&nbsp; 10 <strong><span class="bbu">B7</span></strong> R 50.6 18.7 26:21.89 /usr/bin/transmission-daemon -f<br /></div></p></div></div><p>Но возникает вторая часть вопроса. А как установить ionice для процессов nfsd? В конфиге ничего такого подходящего не нашел.</p>]]></content>
			<author>
				<name><![CDATA[GlebHappy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8356</uri>
			</author>
			<updated>2015-03-01T17:10:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447382#p447382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447375#p447375" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>GlebHappy пишет:</cite><blockquote><p>Хотелось бы как-то расставить приоритеты на ввод/вывод</p></blockquote></div><p><strong>man ionice</strong></p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2015-03-01T15:57:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447375#p447375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[transmission-daemon & nfs-kernel-server - проблема]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=447373#p447373" />
			<content type="html"><![CDATA[<p>Добрый день и здравия всем знатокам&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><p>Имею в наличии неттоп DNS Porto (<a href="http://www.dns-shop.ru/catalog/i158232/kompyuter-dns-porto-amd-zacate-e450-hd6320-2gb-500gb-wi-fi-bt-hdmi-bez.html">http://www.dns-shop.ru/catalog/i158232/ … i-bez.html</a>), на который установлен Debian<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">glebhappy@debian-server:~$ lsb_release -a<br />No LSB modules are available.<br />Distributor ID: Debian<br />Description:&nbsp; &nbsp; Debian GNU/Linux 8.0 (jessie)<br />Release:&nbsp; &nbsp; &nbsp; &nbsp; 8.0<br />Codename:&nbsp; &nbsp; &nbsp; &nbsp;jessie<br /></div></p><p>Далее, к данной шайтан-машине подключены две коробки CFI-B4043JDGG (<a href="http://www.cfi-rus.ru/cfib4043jdgg-text">http://www.cfi-rus.ru/cfib4043jdgg-text</a>), каждая набита четыремя винтами (4 * 2 ТБ + 4 * 3 ТБ) соответственно, сконфигурированными как RAID5<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">glebhappy@debian-server:~$ sudo lsblk<br />NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MAJ:MIN RM&nbsp; &nbsp;SIZE RO TYPE MOUNTPOINT<br />sda&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8:0&nbsp; &nbsp; 0 465,8G&nbsp; 0 disk<br />├─sda1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:1&nbsp; &nbsp; 0&nbsp; 88,2G&nbsp; 0 part /<br />├─sda2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:2&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp;1K&nbsp; 0 part<br />├─sda3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:3&nbsp; &nbsp; 0&nbsp; 27,8G&nbsp; 0 part<br />└─sda5&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:5&nbsp; &nbsp; 0&nbsp; &nbsp;1,6G&nbsp; 0 part [SWAP]<br />sdb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8:16&nbsp; &nbsp;0&nbsp; &nbsp;8,2T&nbsp; 0 disk<br />└─sdb1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:17&nbsp; &nbsp;0&nbsp; &nbsp;8,2T&nbsp; 0 part<br />&nbsp; └─VolumeGroup-storage 254:0&nbsp; &nbsp; 0&nbsp; &nbsp;8,2T&nbsp; 0 lvm&nbsp; /storage<br />sdc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;8:32&nbsp; &nbsp;0&nbsp; &nbsp;5,5T&nbsp; 0 disk<br />└─sdc1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 8:33&nbsp; &nbsp;0&nbsp; &nbsp;5,5T&nbsp; 0 part /storage2<br />glebhappy@debian-server:~$ sudo lsblk -f<br />NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FSTYPE&nbsp; &nbsp; &nbsp; LABEL UUID&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MOUNTPOINT<br />sda<br />├─sda1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 290e21c9-557f-4c34-bf87-8cd3834dab1d&nbsp; &nbsp;/<br />├─sda2<br />├─sda3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext4&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e0c2af3b-60b1-4f89-bfa6-a150802ff42d<br />└─sda5&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; swap&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3cc4b47f-ff5a-401b-a08c-57ba64566831&nbsp; &nbsp;[SWAP]<br />sdb<br />└─sdb1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LVM2_member&nbsp; &nbsp; &nbsp; &nbsp;SwtahI-zzjy-Om2R-qVHw-QY94-rMsl-2WxX1y<br />&nbsp; └─VolumeGroup-storage jfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;46e91da0-23be-4aec-a293-e579d605af59&nbsp; &nbsp;/storage<br />sdc<br />└─sdc1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3b0267dd-b863-4d18-9e10-7ff581a823f0&nbsp; &nbsp;/storage2<br /></div></p></div></div><p>Девайс используется для закачки торрентов и для их раздачи на медиаплеер посредством nfs.<br />Файлы настроек таковы:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;/etc/default/nfs-kernel-server</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># Number of servers to start up<br />RPCNFSDCOUNT=8</p><p># Runtime priority of server (see nice(1))<br />RPCNFSDPRIORITY=0</p><p># Options for rpc.mountd.<br /># If you have a port-based firewall, you might want to set up<br /># a fixed port here using the --port option. For more information,<br /># see rpc.mountd(8) or <a href="http://wiki.debian.org/SecuringNFS">http://wiki.debian.org/SecuringNFS</a><br /># To disable NFSv4 on the server, specify &#039;--no-nfs-version 4&#039; here<br />RPCMOUNTDOPTS=&quot;--manage-gids&quot;</p><p># Do you want to start the svcgssd daemon? It is only required for Kerberos<br /># exports. Valid alternatives are &quot;yes&quot; and &quot;no&quot;; the default is &quot;no&quot;.<br />NEED_SVCGSSD=&quot;&quot;</p><p># Options for rpc.svcgssd.<br />RPCSVCGSSDOPTS=&quot;&quot;</div></p></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;/etc/exports</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># /etc/exports: the access control list for filesystems which may be exported<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to NFS clients.&nbsp; See exports(5).<br />#<br /># Example for NFSv2 and NFSv3:<br /># /srv/homes&nbsp; &nbsp; &nbsp; &nbsp;hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)<br />#<br /># Example for NFSv4:<br /># /srv/nfs4&nbsp; &nbsp; &nbsp; &nbsp; gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)<br /># /srv/nfs4/homes&nbsp; gss/krb5i(rw,sync,no_subtree_check)<br />#</p><p>/storage&nbsp; &nbsp; &nbsp; &nbsp; *(rw,async,no_subtree_check)<br />/storage2&nbsp; &nbsp; &nbsp; &nbsp;*(rw,async,no_subtree_check)</div></p></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;/var/lib/transmission-daemon/info/settings.json</div><div class="fancy_spoiler"><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">{<br />&nbsp; &nbsp; &quot;alt-speed-down&quot;: 5000,<br />&nbsp; &nbsp; &quot;alt-speed-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;alt-speed-time-begin&quot;: 420,<br />&nbsp; &nbsp; &quot;alt-speed-time-day&quot;: 127,<br />&nbsp; &nbsp; &quot;alt-speed-time-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;alt-speed-time-end&quot;: 1410,<br />&nbsp; &nbsp; &quot;alt-speed-up&quot;: 5000,<br />&nbsp; &nbsp; &quot;bind-address-ipv4&quot;: &quot;0.0.0.0&quot;,<br />&nbsp; &nbsp; &quot;bind-address-ipv6&quot;: &quot;::&quot;,<br />&nbsp; &nbsp; &quot;blocklist-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;blocklist-url&quot;: &quot;<a href="http://www.example.com/blocklist">http://www.example.com/blocklist</a>&quot;,<br />&nbsp; &nbsp; &quot;cache-size-mb&quot;: 128,<br />&nbsp; &nbsp; &quot;dht-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;download-dir&quot;: &quot;/storage&quot;,<br />&nbsp; &nbsp; &quot;download-queue-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;download-queue-size&quot;: 10,<br />&nbsp; &nbsp; &quot;encryption&quot;: 1,<br />&nbsp; &nbsp; &quot;idle-seeding-limit&quot;: 30,<br />&nbsp; &nbsp; &quot;idle-seeding-limit-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;incomplete-dir&quot;: &quot;/home/debian-transmission/Downloads&quot;,<br />&nbsp; &nbsp; &quot;incomplete-dir-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;lpd-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;message-level&quot;: 1,<br />&nbsp; &nbsp; &quot;peer-congestion-algorithm&quot;: &quot;&quot;,<br />&nbsp; &nbsp; &quot;peer-id-ttl-hours&quot;: 6,<br />&nbsp; &nbsp; &quot;peer-limit-global&quot;: 200,<br />&nbsp; &nbsp; &quot;peer-limit-per-torrent&quot;: 50,<br />&nbsp; &nbsp; &quot;peer-port&quot;: 54975,<br />&nbsp; &nbsp; &quot;peer-port-random-high&quot;: 65535,<br />&nbsp; &nbsp; &quot;peer-port-random-low&quot;: 49152,<br />&nbsp; &nbsp; &quot;peer-port-random-on-start&quot;: true,<br />&nbsp; &nbsp; &quot;peer-socket-tos&quot;: &quot;default&quot;,<br />&nbsp; &nbsp; &quot;pex-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;port-forwarding-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;preallocation&quot;: 1,<br />&nbsp; &nbsp; &quot;prefetch-enabled&quot;: 1,<br />&nbsp; &nbsp; &quot;queue-stalled-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;queue-stalled-minutes&quot;: 30,<br />&nbsp; &nbsp; &quot;ratio-limit&quot;: 2,<br />&nbsp; &nbsp; &quot;ratio-limit-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;rename-partial-files&quot;: true,<br />&nbsp; &nbsp; &quot;rpc-authentication-required&quot;: false,<br />&nbsp; &nbsp; &quot;rpc-bind-address&quot;: &quot;0.0.0.0&quot;,<br />&nbsp; &nbsp; &quot;rpc-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;rpc-password&quot;: &quot;{3d5da7a6b23049437d1a1415b185e71cbba11d25nwn0fLoU&quot;,<br />&nbsp; &nbsp; &quot;rpc-port&quot;: 9091,<br />&nbsp; &nbsp; &quot;rpc-url&quot;: &quot;/transmission/&quot;,<br />&nbsp; &nbsp; &quot;rpc-username&quot;: &quot;&quot;,<br />&nbsp; &nbsp; &quot;rpc-whitelist&quot;: &quot;127.0.0.1&quot;,<br />&nbsp; &nbsp; &quot;rpc-whitelist-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;scrape-paused-torrents-enabled&quot;: true,<br />&nbsp; &nbsp; &quot;script-torrent-done-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;script-torrent-done-filename&quot;: &quot;&quot;,<br />&nbsp; &nbsp; &quot;seed-queue-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;seed-queue-size&quot;: 10,<br />&nbsp; &nbsp; &quot;speed-limit-down&quot;: 100,<br />&nbsp; &nbsp; &quot;speed-limit-down-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;speed-limit-up&quot;: 100,<br />&nbsp; &nbsp; &quot;speed-limit-up-enabled&quot;: false,<br />&nbsp; &nbsp; &quot;start-added-torrents&quot;: true,<br />&nbsp; &nbsp; &quot;trash-original-torrent-files&quot;: false,<br />&nbsp; &nbsp; &quot;umask&quot;: 18,<br />&nbsp; &nbsp; &quot;upload-slots-per-torrent&quot;: 14,<br />&nbsp; &nbsp; &quot;utp-enabled&quot;: true<br />}<br /></div></p></div></div><p><strong>В чем состоит проблема:</strong><br />Раньше у меня был провайдер, который мог мне предоставлять максимум 4 мегабита входящей скорости и 0,8 мегабита исходящей. При этом всё было нормально, могло всё работать параллельно - трансмишн качал, плеер показывал.<br />Сейчас я поменял прова и скорость у меня теперь 50/50 мегабит вниз/вверх (внутри сети - ещё больше до 100).<br />И с этого момента начались проблемы с воспроизведением тяжелых файлов (рипы &gt;20 гигабайт и образы BD).<br />В чём выражается - когда идет интенсивная скачка, регулярно происходят фризы, которые портят весь просмотр.<br />Если закачки приостановить - то всё более-менее ровно. Но хотелось бы поправить.</p><p><strong>До чего додумался сам:</strong><br />Увеличил размер кэша для transmission, благо оперативка позволяет<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">&quot;cache-size-mb&quot;: 128,</div></p><p>Проблема стала проявляться реже, но полностью не ушла.<br />Что можно сделать ещё? Хотелось бы как-то расставить приоритеты на ввод/вывод, чтобы доступ к диску всегда первоочередно получал NFS, а transmission - уже во вторую очередь.</p>]]></content>
			<author>
				<name><![CDATA[GlebHappy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8356</uri>
			</author>
			<updated>2015-03-01T15:32:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=447373#p447373</id>
		</entry>
</feed>
