[Comm] Samba, опция use sendfile

Alexey Khobov =?iso-8859-1?q?alex_=CE=C1_ormb=2Eru?=
Чт Янв 15 15:04:02 MSK 2004


Привет!

Была такая-же ситуация. Эмпирическим путем выявленно, что
с 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






Подробная информация о списке рассылки community