You are not logged in.
Pages: 1
pacman lags the first time i use it after a boot, or if i haven't used it in a bit, say 30 minutes. i'll enter a command (ex. pacman -S xxxx), and it will pause for about 1 minute then ask for confirmation. the next few times i use it it's really quick to respond, and goes back to being laggy if i don't use it for a while.
Offline
Sounds like the old pacman (v2) to me. You sure you've upgraded properly?
pacman -V
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
No, this is actually "normal" - pacman uses thousands of tiny files on disk, which causes a decent lag the first time they are used, due to the disk seek time. Still, 1 minute is excessive - here the initial lag is only around 10-15 seconds. This *is* being worked on, but for now most people either
a) optimize the partition that pacman is on
b) throw some tricks at it
For (a), can you tell me what filesystem /var is on your system? If it's ext3, you can turn on dir_index and noatime on that partition, which will speed it up significantly.
For (b), you can do something like, add "pacman -Ss initializing > /dev/null" or something to rc.local, which will do that first load of all files when your machine boots... it's crappy, but it does work.
Offline
hey phrakture, my filesystem should be ext3. how do i turn on dir_index and noatime?
Offline
It's covered in the wiki:
http://wiki.archlinux.org/index.php/Ext … ystem_Tips
Offline
Pages: 1