* Re: [Comm] Скорость передачи файлов по SMB
@ 2017-06-30 15:28 ` Nikolay A. Fetisov
2017-06-30 15:34 ` Петухов Александр Александрович
2017-06-30 15:39 ` Evgeny Sinelnikov
1 sibling, 1 reply; 4+ messages in thread
From: Nikolay A. Fetisov @ 2017-06-30 15:28 UTC (permalink / raw)
To: ALT Linux Community general discussions
Здравствуйте!
В Пт, 30/06/2017 в 16:14 +0300, Петухов Александр Александрович пишет:
>
> Есть файлопомойка на доменном win-сервере.
> машина с текущим p8 подключается к этой файлопомойке через smb под
> доменной пользовательской win-учеткой. Работает нормально, кроме
> одного момента: очень медленно передаются файлы в обе стороны. ...
У меня для утилизации 1 Gbit/s понадобилось
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=32768 SO_SNDBUF=32768
Правда, ситуация обратная - файл-сервер Samba, клиент - Windows.
> Соседняя машина с Centos на борту выдаёт 10 Mb/s,
Проверить передачу данных с машины на машину?
Что-то типа
$ nc -l 12345 | pv > /dev/zero
на CentOS, и
$ dd if=/dev/zero bs=1M | pv | netcat <CentOS IP> 12345
на p8. И затем зеркально наоборот.
Если скорость нормальная - смотреть на Samba'у, если нет - на сеть.
На подключение, на сетевую карту, на потери пакетов и т.п.
--
С уважением,
Николай Фетисов
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Comm] Скорость передачи файлов по SMB
2017-06-30 15:28 ` [Comm] Скорость передачи файлов по SMB Nikolay A. Fetisov
@ 2017-06-30 15:39 ` Evgeny Sinelnikov
2017-06-30 15:47 ` Петухов Александр Александрович
1 sibling, 1 reply; 4+ messages in thread
From: Evgeny Sinelnikov @ 2017-06-30 15:39 UTC (permalink / raw)
To: ALT Linux Community general discussions
30 июня 2017 г., 17:14 пользователь Петухов Александр Александрович
<d-shru@yandex.ru> написал:
> Добрый день.
>
>
> Есть файлопомойка на доменном win-сервере.
> машина с текущим p8 подключается к этой файлопомойке через smb под доменной
> пользовательской win-учеткой. Работает нормально, кроме одного момента:
> очень медленно передаются файлы в обе стороны. Не более 2.2 Mb/s. На сервере
> ограничений никаких нет. Соседняя машина с Centos на борту выдаёт 10 Mb/s,
> про win-машины и говорить нечего.
> smb.conf во вложении.
Было бы неплохо уточнить smb.conf соседней машины с Centos. А также
сравнить характеристики машин и схемы их включения в локальную сеть. А
то может оказаться, что проблема не в машине.
Для исключения вопроса о производительности сети предлагаю замерить её
с помощью iperf. Сервер iperf на сервере, клиент - на клиентах.
>
> Не могу сказать наверняка, что именно SMB виновен, т.к. на YandexDisk по
> webdav файлы передаются тоже медленно.
> Собственно вопрос: куда копать?
Я бы проверил так - загрузился бы с альтовой флешки на той же машине,
где установлена CentOS и проверил скорость по SMB без домена, по
гостевому входу.
--
Sin (Sinelnikov Evgeny)
^ permalink raw reply [flat|nested] 4+ messages in thread