[Comm] Samba, опция use sendfile
cetus
=?iso-8859-1?q?cetus_=CE=C1_newmail=2Eru?=
Пт Янв 16 00:07:15 MSK 2004
Дворников Михаил 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 - все стало ок.
Подробная информация о списке рассылки community