You are not logged in.

#26 2018-06-01 17:15:01

progandy
Member
Registered: 2012-05-17
Posts: 4,367

Re: pacman-optimize and other utilties removed from pacman 5.1.0?

It is an old laptop from around 2010? with an hdd, boot time is around 1:30 minutes...

Maybe there is some other cache as well. See you later after a reboot.

Edit: After a reboot, it is still 2-3s now.

Last edited by progandy (2018-06-01 17:53:13)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#27 2018-06-01 17:26:07

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,083

Re: pacman-optimize and other utilties removed from pacman 5.1.0?

progandy wrote:

It is an old laptop from around 2010? with an hdd, boot time is around 1:30 minutes...

That would definitely be something wrong. tongue

But I don't see why you'd see a speedup when dropping the cache.

I *very* predictably get:

$ time pacman -Q bash > /dev/null
real	0m2.602s
user	0m0.028s
sys	0m0.037s

After dropping the cache

Either running pacman-optimize, *or* running pacman -Q bash a second time without dropping the cache, results in an identical speedup to:

$ time pacman -Q bash > /dev/null
real	0m0.056s
user	0m0.015s
sys	0m0.010s

This includes before having ever run pacman-optimize...


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#28 2018-06-01 18:11:16

progandy
Member
Registered: 2012-05-17
Posts: 4,367

Re: pacman-optimize and other utilties removed from pacman 5.1.0?

Eschwartz wrote:

But I don't see why you'd see a speedup when dropping the cache.

I saw the speedup after running pacman-optimize and dropping the cache to remove the placebo effect. So I guess in my case it worked?
Cached access was always very fast. <0.2 seconds

[OT] Oh well, it is time for a new laptop anyways. At least there are a few reasonable options with amd graphics again.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#29 2018-06-01 18:30:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 25,296

Re: pacman-optimize and other utilties removed from pacman 5.1.0?

Thanks progandy.  So there's a sample size of one showing it worked.

But placebos do work too tongue


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB