FS#68774 - [pacman] pacman -Qi <package> is slow the first time launched after boot.
Attached to Project:
Pacman
Opened by Munzir Taha (munzirtaha) - Saturday, 28 November 2020, 16:42 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 December 2020, 00:46 GMT
Opened by Munzir Taha (munzirtaha) - Saturday, 28 November 2020, 16:42 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 December 2020, 00:46 GMT
|
Details
Description:
When I launch pacman -Qi <package> after a fresh boot, pacman is slow and it takes 14 secs in my 5400-RPM HDD. I traced the system calls and the command opens and read thousands of files in the local database at /var/lib/pacman/local/, which is unnecessary for a -Qi option. For searching operations that's understandable but for this operation, it should be a direct read to that package files only. Additional info: * package version(s): pacman 5.2.2-1 Steps to reproduce: $ time pacman -Qi aalib Name : aalib Version : 1.4rc5-14 Description : A portable ASCII art graphic library Architecture : x86_64 URL : http://aa-project.sourceforge.net/aalib/ Licenses : LGPL Groups : None Provides : None Depends On : gpm libx11 Optional Deps : None Required By : gst-plugins-good Optional For : vlc xine-lib Conflicts With : None Replaces : None Installed Size : 287.11 KiB Packager : Allan McRae <allan@archlinux.org> Build Date : Thu 14 May 2020 04:35:32 PM CAT Install Date : Thu 14 May 2020 11:23:53 PM CAT Install Reason : Installed as a dependency for another package Install Script : No Validated By : Signature real 0m14.146s user 0m0.175s sys 0m0.622s |
This task depends upon
Required By : gst-plugins-good