ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Samba
Date: Fri, 4 Jan 2008 18:21:55 +0200
Message-ID: <20080104162154.GC6106@osdn.org.ua> (raw)
In-Reply-To: <daebf3670801040654m1ba5c072sb6daf0536cc5361c@mail.gmail.com>

On Fri, Jan 04, 2008 at 04:54:27PM +0200, Dima Spodarets wrote:
> Всем привет. Настраиваю самбу, но столкнулся с проблемой
> медленной скорости записи с клиентских машин на файловый сервер
> где стоит самба.

Так медленной записи или низкой скорости чтения?

> С файлового сервера на клиенты скорость ~ 1-2 мбит\с
> С клиентов на файловый сервер ~  12 мбит\с

Если и с сетью всё в порядке -- не вижу 

use sendfile = yes

(осторожно, гробит совместимость с win9x)

> socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY
> SO_SNDBUF=262144 SO_RCVBUF=262144

Обычно ходили чуть другие рекомендуемые размеры буферов -- 
8192, что ли.  В ALT 4.0 (3.0.28-alt1) наблюдаю по умолчанию

socket options = TCP_NODELAY

-- а когда-то была более развесистая строчка.

> log level = 256

Вот это ещё может сильно тормозить.  Хотя странно,
что так асимметрично.

> [1cbase]
> writeable = yes
> path = /srv/samba/1cbase
> read only = no
> writeable = yes
> create mask = 0777
> directory mask = 0777
> [firms]
> writeable = yes
> path = /srv/samba/firms
> write list = @"Domain Users",@"Domain Admins"
> create mask = 0777
> directory mask = 0777
> 
> Кто что может посоветовать для увеличения скорости передачи данных?

Ах 1С... под него пока лучший совет был всё-таки Samba 2.2 :(
На 3.0 не сталкивался совсем.  ab@ вроде последний раз, как 
упоминались тормоза, удивлялся, но текущего состояния и
рекомендаций не знаю.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


       reply	other threads:[~2008-01-04 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 16:21 ` Michael Shigorin [this message]
2008-01-04 17:41     ` Gennady Kovalev
2008-01-04 17:56     ` Денис Смирнов
2008-01-05 14:42       ` Michael Shigorin
2008-01-06  6:09       ` Andrey Chichak
2008-01-06  6:16       ` Andrey Chichak
2008-01-06 12:02         ` Денис Смирнов
2008-01-07  6:28           ` Andrey Chichak
2008-01-21 15:54   ` Anton Gorlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080104162154.GC6106@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git