|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: maidir file name
From: Michael Tokarev (mjt
tls.msk.ru)Date: Tue Sep 12 2000 - 15:00:51 CDT
- Next message: Michael Tokarev: "Re: CDB map for postfix"
- Previous message: Michael Tokarev: "CDB map for postfix"
- In reply to: Michael Ju. Tokarev: "maidir file name"
- Next in thread: Ralf Hildebrandt: "Re: maidir file name"
- Reply: Michael Tokarev: "Re: maidir file name"
- Reply: Ralf Hildebrandt: "Re: maidir file name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Michael Ju. Tokarev" wrote:
>
[q about maildir, names and many files in maildir]
Thanks, thanks to all who replied.
I really know that is it not a good idea to have such a big maildir,
and know that there should be other storage solutions. Actually
question was simple -- I realized that having short file names
is sufficient for me (now), since that particular maildirs in questions
are not growing. This is not a real solution, but quick-and-dirty one.
So the subject.
I found a really great pleasure in Matthias's answer about "unix for
beginners" -- I have a nice mood all this day! :) -- thanks, Matthias! --
1:1, friendship is in win! :)
I looked to reiserfs also (not on this machine, but on different, _very_
"small" one -- 486dx4-100, 64mb, scsi) -- that machine runs our squid cache
for about 5-6 years now. That was just an experiment -- it works fine
for our needs just now -- I looked on how reiserfs can work here.
And that was _very_ surprizingly to me, really -- i was far worse than ext2!
This one issue should (must!) be investigated further, as it is very
unexpected result. Some "benchmarks" from memory:
doing "joy test": $ time find /var/spool/squid -ls >/dev/null
On the same cache, this test tooks about 7 min for ext2 and 22 (!) for
reiserfs! Cache contains ~60.000 files, directory layout 16+64.
I repeat, things should NOT be as this and should be investigated.
(vanilla 2.2.17 kernel with only reiserfs patch).
This all is just an example how results can be different (maybe my
braindamage, maybe something other, maybe my disk is "optimized" for
ext2 :), i don't know). But ok, this is really offtopic.
And I realized that having inode number only in maildir filename is not
good. For my simple case, I will strip hostname part from name (as
we have only one machine that access to maildirs) for now, while looking
to real solution (that can be just using another fs, like reiser of xfs).
Thanks.
Regards,
Michael.
- Next message: Michael Tokarev: "Re: CDB map for postfix"
- Previous message: Michael Tokarev: "CDB map for postfix"
- In reply to: Michael Ju. Tokarev: "maidir file name"
- Next in thread: Ralf Hildebrandt: "Re: maidir file name"
- Reply: Michael Tokarev: "Re: maidir file name"
- Reply: Ralf Hildebrandt: "Re: maidir file name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]