ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: Какой формат почтовых ящиков вы используете?
Date: Thu Apr 11 13:08:21 2002
Message-ID: <20020411090416.GC17084@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <20020411093106.GB16654@ramax.spb.ru>

Hello Igor,

On Thu, Apr 11, 2002 at 01:31:06PM +0400, Igor Homyakov wrote:
>
> > Ну, according to DJB (хотя не знаю, стал бы я ему доверять в этом
> > случае), все, что не Maildir/ - unreliable и все такое прочее. В
> > принципе, конечно, устройство Maildir/ - простое и, э-э-э, почти
> > безотказное (ну, постольку, поскольку мы вообще можем доверять что-либо
> > некоей файловой системе), но, увы, не слишком оптимальное - иноды жрутся
> > со страшной силой. Впрочем, удобство и комфортабельность использования
> > при работе с продуктами DJB - вещи, э-э-э, своеобразные....
> Maildir/ хорошо работает если домашний каталог смонтирован по NFS,
> это один из основных аргументов в его пользу по мнению DJB
> 
> да удобство вещь лчень субъективная, мне недавно потребовалось сделать 
> обработку почты. Результаты: 
>  - один 300Mb файл обрабатывается быстрее (perl), чем более 2-х тысяч мелких
>    причем значительно быстрее.
>  - Maildir удобно разбирать руками (субъективно)
>  - Maildir сильнее нагружает файловую систему, в идеале на большом (!!)
>    почтовом сервере для каталога с почтовыми ящиками надо специально
>    оптимизировать fs 

В mbox менее удобно удалять/изменять сообщения.
Вообще, как нас учит товарищ Reiser, файлы и каталоги -- не более, чем
биты на диске, проиндексированные тем или иным образом. То, что много
маленьких файлов дают нагрузку гораздо большую, чем возня с одним
большим файлом, говорит о недостатках файловой системы и ядра.
Впрочем, расходы на open, close, stat и пр., обусловленные набором
системных вызовов, тоже вносят свою лепту.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
It's trivial to make fun of Microsoft products, but it takes a real man to
make them work, and a god to make them do anything useful.



      reply	other threads:[~2002-04-11 13:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-10 13:11 [mdk-re] " Yura Zotov
2002-04-10 14:25 ` Alexey Morozov
2002-04-11 12:31   ` Igor Homyakov
2002-04-11 13:08     ` Mikhail Zabaluev [this message]

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=20020411090416.GC17084@mhz.mikhail.zabaluev.name \
    --to=mhz@alt-linux.org \
    --cc=mandrake-russian@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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