From: sergey ivanov <seriv@parkheights.dyndns.org>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Mail server perfomance
Date: Thu, 31 May 2007 08:03:14 -0400
Message-ID: <465EB982.7060109@parkheights.dyndns.org> (raw)
In-Reply-To: <465FAE36.2060600@stc.donpac.ru>
Eugene Prokopiev wrote:
> Sergey пишет:
>
>> Eugene Prokopiev wrote:
>> [skip]
>>
>>> Очень интересно, спасибо, надо будет попробовать воспроизвести, а то
>>> "ext3 created as a 1GB file inside XFS" для innodb вместо xfs/jfs или
>>> raw device - это выглядит нечестно ;)
>>>
>> Сейчас отправил в Daedalus пакет dovecot-1.1-alt0.hg20070530.src.rpm
>> который provides среди прочего imaptest для тестирования imap серверов.
>>
>
> его бы лучше в отдельный пакет, он ведь не завязан на dovecot?
>
> и, кстати, в исходниках параметры (адрес, имя, пароль и т.д.) прошиты
> через #define, т.о., чтобы его использовать, нужно либо пересобирать
> (зачем тогда пакет?), либо выносить параметры в конфиг, например.
>
>
Так оно и упаковано. Бинарный пакет отдельный, из одного srpm получается
несколько бинарных.
---
[seriv@parkheights ~]$ rpm -qa |grep '^dovecot'
dovecot-sieve-1.0.1.cvs20070222-alt1
dovecot-1.0-alt12.hg20070527
dovecot-doc-1.0-alt12.hg20070527
dovecot-benchmark-1.1-alt0.hg20070530
dovecot-devel-1.0-alt12.hg20070527
[seriv@parkheights ~]$ rpm -ql dovecot-benchmark
/usr/bin/imaptest
[seriv@parkheights ~]$ imaptest --help
imaptest [user=USER] [host=HOST] [port=PORT] [pass=PASSWORD]
[mbox=MBOX] [clients=CC] [msgs=NMSG] [box=MAILBOX]
[copybox=DESTBOX]
[-] [<state>[=<n%>[,<m%>]]] [random] [no_pipelining]
USER = template for username. "u%04d" will generate users "u0001" to
"u0099". "u%04d@d%04d" will generate also "d0001" to "d0099".
MBOX = path to mbox from which we read mails to append.
MAILBOX = Mailbox name where to do all the work (default = INBOX).
DESTBOX = Mailbox name where to copy messages.
CC = number of concurrent clients. [10]
NMSG = target number of messages in the mailbox. [30]
- = Sets all probabilities to 0% except for LOGIN, LOGOUT and SELECT
<state> = Sets state's probability to n% and repeated probability to m%
---
Чтобы тестировать я создаю, например, сотню тестовых аккаунтов с
одинаковым паролем, типа:
---
$ useradd test0; passwd test0;
<<ввожу пароль напримаер 'testing'>>
$ for i in `seq 0 9`; do for j in `seq 0 9`; do
N=test00${i}${j}; useradd $N;
cp /etc/tcb/test0/shadow /etc/tcb/$N/shadow;
chown $N /etc/tcb/$N/shadow;
done; done;
---
и после этого можно запускать
---
$ imaptest user="test%04d" host=localhost port=143 pass=testing
mbox=/home/seriv/devel/dovecot/dovecot.mbox
--
Сергей
next prev parent reply other threads:[~2007-05-31 12:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 15:36 [sisyphus] [Fwd: I: incoming x86_64 success: fuse-zfs-0.4.0_beta1.hg20070527-alt1] sergey ivanov
2007-05-28 17:25 ` Eugene Prokopiev
2007-05-29 0:22 ` sergey ivanov
2007-05-29 4:30 ` Eugene Prokopiev
2007-05-29 5:53 ` sergey ivanov
2007-05-29 7:01 ` [sisyphus] Mail server perfomance Eugene Prokopiev
2007-05-30 22:44 ` Sergey
2007-06-01 5:27 ` Eugene Prokopiev
2007-05-31 12:03 ` sergey ivanov [this message]
2007-05-31 12:29 ` Led
2007-05-31 12:41 ` Eugene Ostapets
2007-05-31 12:47 ` Led
2007-06-01 20:21 ` [sisyphus] Q: хэш для пароля Sergey
2007-06-01 20:27 ` Eugene Ostapets
2007-06-05 6:45 ` Michael A. Kangin
2007-05-31 17:21 ` [sisyphus] Mail server perfomance Sergey
2007-06-01 8:10 ` Eugene Prokopiev
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=465EB982.7060109@parkheights.dyndns.org \
--to=seriv@parkheights.dyndns.org \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git