Wednesday 03 October 2007, Sergej Pupykin wrote:
| I read pacman-optimize script and found that it just tar-untar
| pacman dir. Wiki page
|
| http://wiki.archlinux.org/index.php/Improve_Pacman_Performance
|
| said that this script place files together on disk.
|
| I'm asking why? All modern filesystem have different empty space
| searching algorithms, but no FS place files from disk begining to
| end. (May be except FAT implementation).
|
| Many unix file systems use allocation groups which filling evenly.
|
| User never can make FS to put file in userselected location.
|
| Is anybody there who take increased pacman speed from
| pacman-optimize?
since i was involved in the idea (not the implementation - the script
is much better than my just copying the tree to a new place, remove
the old and mv the new tree to the right place what i was doing), i
should reply. :)
i am using archlinux from 2003 and never reinstalled. it just works,
but over time, on a reiser3 partition (my /) pacman became horribly
slow. it took minutes to resolve anything.
the problem is: pacman uses lots of small files that over time get
spread over the whole paritition. i am not aware of any filesystem
(except maybe for a database engine) that can manage to keep frequent
usage of small files over time not fragmented with other things. if
you can mention a (modern) file system that can do this in fact, i'm
glad to hear it.
instead of copying the tree of directories to a new place and moving
it back (this is what i was doing first - this is where the idea
came - check forums), the script packs the old tree and does a
checksum checking for correctness of the data. this is saver than the
primivite copy and move back.
btw: please on the mailinglist start a new thread if you have a new
topic instead of replying inside another discussion. add the email
address to your address book :)
- D
--
.·´¯`·.¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸.·´¯`·.¸¸.·´
° ° °
° ° °
><((((º> ° °
° °
° <º)))><
<º)))><
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch