ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey Alembekov <rt@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Борьба с synflood
Date: Fri, 14 Dec 2012 16:17:42 +0400
Message-ID: <50CB18E6.1070904@altlinux.ru> (raw)
In-Reply-To: <50C83054.1030804@tangramltd.com>

12.12.2012 11:20, Viacheslav Dubrovskyi пишет:
> Ф12.12.2012 00:33, Michael A. Kangin пишет:
>> Интриги добавляет тот факт, что Линупс сосёт.
>>
>> Если на этот сервер поставить FreeBSD9, то она принимает под 450К без
>> всякого ухудшения сервиса. И живёт со скрипом вплоть до 750К с
>> атакующей машины, больше я с неё не смог выжать.
>>
>> Собственно, что сделать можно под Линуксом?
>> Все настройки в целом по умолчанию (кроме раскидывания прерываний по
>> ядрам процессора). Я пробовал много шаманств - и всякие там sysсtl
>> крутить, и длины очередей в ifconfig и ethtool, и параметры igb. Все
>> бесполезно (да и раскидывание прерываний, подозреваю, тоже).
> Модули iptables загружены? С выгруженными модулями проверяли?
>
>>
>> Была идея, что 2-4 сетевухи в бондинге будут лучше справляться.
>> Авотфиг. Хуже.
> Да, хуже. Проверяли. Лучше на каждую отдельно роутить. И вообще, каждая
> новая сетевуха добавленная в бондинг теряет +~30% пропускной
> способности. Т.е. если мы сделаем в бондинге 3 сетевухи по 1G то получим
> примерно 1+0,7+0,4=2,1G

Не правда. Я получал 4 гигабита на 4-x Intel 82576(если не ошибаюсь) 
сетевухах в режиме 802.3ad. Предположу, что производительность бондинга 
сильно зависит от его типа, типа сетевухи и оборудования "на той стороне"


  parent reply	other threads:[~2012-12-14 12:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 22:33 Michael A. Kangin
2012-12-12  7:20 ` Viacheslav Dubrovskyi
2012-12-12  8:31   ` Anton Gorlov
2012-12-12  9:54     ` Viacheslav Dubrovskyi
2012-12-12 10:12       ` Anton Gorlov
2012-12-13  7:47     ` Sergey
2012-12-12  9:40   ` Michael A. Kangin
2012-12-14 12:17   ` Sergey Alembekov [this message]
2012-12-12  8:39 ` Anton Gorlov
2012-12-12  9:42   ` Michael A. Kangin
2012-12-12  9:58     ` Viacheslav Dubrovskyi
2012-12-12 10:20       ` Alexei Takaseev
2012-12-12 10:34         ` Viacheslav Dubrovskyi
2012-12-12 10:44       ` Michael A. Kangin
2012-12-12 10:40   ` Michael A. Kangin
2012-12-12 10:46   ` Michael A. Kangin
2012-12-12 10:51 ` Viacheslav Dubrovskyi
2012-12-12 11:10   ` Michael A. Kangin
2012-12-20  6:20 ` Dubrovskiy Viacheslav
2012-12-20 18:15   ` Michael A. Kangin
2013-01-06 12:04     ` Dubrovskiy Viacheslav

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=50CB18E6.1070904@altlinux.ru \
    --to=rt@altlinux.ru \
    --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