* Re: [Comm] Samba, опция use sendfile
2004-01-15 10:00 [Comm] Samba, опция use sendfile Дворников Михаил
@ 2004-01-15 11:49 ` Дворников Михаил
2004-01-15 12:04 ` Alexey Khobov
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Дворников Михаил @ 2004-01-15 11:49 UTC (permalink / raw)
To: community
И еще на вопросик, ответьте plz.
Схема сети:
|--- маршрутизатор (Win98)
|--- Samba
|--- маршрутизатор (Linux без Samba)
В сети все клиенты Win98, Samba работает как WINS.
В качестве сервера-WINS подсетей используется маршрутизатор (Win98) и
клиент Win98.
У них настройки WINS: сам + Samba-WINS.
Подсети за маршрутизатом бывают не видны.
Можно или нужно указывать на сервере Samba:
*remote browse sync = 10.15.1.225 10.15.1.131 - адреса WINS серверов
*
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Samba, опция use sendfile
2004-01-15 10:00 [Comm] Samba, опция use sendfile Дворников Михаил
2004-01-15 11:49 ` Дворников Михаил
@ 2004-01-15 12:04 ` Alexey Khobov
2004-01-15 15:02 ` Re[2]: " Andrew Nazarkin
2004-01-15 14:40 ` [Comm] " Michael Shigorin
2004-01-15 21:07 ` [Comm] " cetus
3 siblings, 1 reply; 6+ messages in thread
From: Alexey Khobov @ 2004-01-15 12:04 UTC (permalink / raw)
To: community
Привет!
Была такая-же ситуация. Эмпирическим путем выявленно, что
с sendfile работать будут только W2k, а Win9x - не работают.
XP/NT не проверялся, но есть подозрение, что работать будет (по
аналогии с W2k)
Дворников Михаил wrote:
> Дистрибутив ALTLinux Master 2.2, samba 2.2.8 из него.
> Клиенты Win9X. Сервер Celeron1200/512Mb.
> Если стоит в smb.conf: use sendfile = yes (так в файле по умолчанию),
> то отказывается копировать файлы и странные глюки с доступом к файлам.
> Промучался два дня (пока нашел), грешил на case sensitive и компания...
> Если быстрый процессор, то должно быть yes >>>>>
>
> Вычитал в man про это:
> use sendfile (S)
> If this parameter is yes, and Samba was built with the
> --with-sendfile-support option, and the underlying operating system
> supports sendfile system call, then some SMB read calls (mainly
> ReadAndX and ReadRaw) will use the more efficient sendfile system call
> for files that are exclusively oplocked. This may make more efficient
> use of the system CPU's and cause Samba to be faster. This is off by
> default as it's effects are unknown as yet.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re[2]: [Comm] Samba, опция use sendfile
2004-01-15 12:04 ` Alexey Khobov
@ 2004-01-15 15:02 ` Andrew Nazarkin
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Nazarkin @ 2004-01-15 15:02 UTC (permalink / raw)
To: Alexey Khobov
Hello Alexey,
Thursday, January 15, 2004, 3:04:02 PM, you wrote:
Подтверждаю - 2К, XP, 2003 с включенной опцией летают, 98-е виснут
напрочь )
AK> Привет!
AK> Была такая-же ситуация. Эмпирическим путем выявленно, что
AK> с sendfile работать будут только W2k, а Win9x - не работают.
AK> XP/NT не проверялся, но есть подозрение, что работать будет (по
AK> аналогии с W2k)
AK> Дворников Михаил wrote:
>> Дистрибутив ALTLinux Master 2.2, samba 2.2.8 из него.
>> Клиенты Win9X. Сервер Celeron1200/512Mb.
>> Если стоит в smb.conf: use sendfile = yes (так в файле по умолчанию),
>> то отказывается копировать файлы и странные глюки с доступом к файлам.
>> Промучался два дня (пока нашел), грешил на case sensitive и компания...
>> Если быстрый процессор, то должно быть yes >>>>>
>>
>> Вычитал в man про это:
>> use sendfile (S)
>> If this parameter is yes, and Samba was built with the
>> --with-sendfile-support option, and the underlying operating system
>> supports sendfile system call, then some SMB read calls (mainly
>> ReadAndX and ReadRaw) will use the more efficient sendfile system call
>> for files that are exclusively oplocked. This may make more efficient
>> use of the system CPU's and cause Samba to be faster. This is off by
>> default as it's effects are unknown as yet.
>> _______________________________________________
>> Community mailing list
>> Community@altlinux.ru
>> http://www.altlinux.ru/mailman/listinfo/community
AK> _______________________________________________
AK> Community mailing list
AK> Community@altlinux.ru
AK> http://www.altlinux.ru/mailman/listinfo/community
--
Best regards,
Andrew mailto:gnomik@mtv.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Comm] Re: Samba, опция use sendfile
2004-01-15 10:00 [Comm] Samba, опция use sendfile Дворников Михаил
2004-01-15 11:49 ` Дворников Михаил
2004-01-15 12:04 ` Alexey Khobov
@ 2004-01-15 14:40 ` Michael Shigorin
2004-01-15 21:07 ` [Comm] " cetus
3 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2004-01-15 14:40 UTC (permalink / raw)
To: Community
On Thu, Jan 15, 2004 at 01:00:56PM +0300, Дворников Михаил wrote:
> Дистрибутив ALTLinux Master 2.2, samba 2.2.8 из него.
> Клиенты Win9X. Сервер Celeron1200/512Mb.
> Если стоит в smb.conf: use sendfile = yes (так в файле по умолчанию),
> то отказывается копировать файлы и странные глюки с доступом к файлам.
Известно, что 9X с ним несовместимо.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Samba, опция use sendfile
2004-01-15 10:00 [Comm] Samba, опция use sendfile Дворников Михаил
` (2 preceding siblings ...)
2004-01-15 14:40 ` [Comm] " Michael Shigorin
@ 2004-01-15 21:07 ` cetus
3 siblings, 0 replies; 6+ messages in thread
From: cetus @ 2004-01-15 21:07 UTC (permalink / raw)
To: community
Дворников Михаил wrote:
> Дистрибутив ALTLinux Master 2.2, samba 2.2.8 из него.
> Клиенты Win9X. Сервер Celeron1200/512Mb.
> Если стоит в smb.conf: use sendfile = yes (так в файле по умолчанию),
> то отказывается копировать файлы и странные глюки с доступом к файлам.
> Промучался два дня (пока нашел), грешил на case sensitive и компания...
> Если быстрый процессор, то должно быть yes >>>>>
>
> Вычитал в man про это:
> use sendfile (S)
> If this parameter is yes, and Samba was built with the
> --with-sendfile-support option, and the underlying operating system
> supports sendfile system call, then some SMB read calls (mainly ReadAndX
> and ReadRaw) will use the more efficient sendfile system call for files
> that are exclusively oplocked. This may make more efficient use of the
> system CPU's and cause Samba to be faster. This is off by default as
> it's effects are unknown as yet.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community
> __________
> www.zakaz.orc.ru - доставка карт связи: ОРЦ (IP-телефония, доступ в
> Интернет, хостинг), МТС, БИ Плюс
>
>
Клиент Win98, Сервер Athlon 1900+/256Mb
Глюков не было, если не считать отсутствия доступа. Win XP нормально,
2000 вероятно тоже. Отключил use sendfile - все стало ок.
^ permalink raw reply [flat|nested] 6+ messages in thread