PKUOSC / issues

You can submit issues here about mirror site.
6 stars 0 forks source link

Archlinux:用yay会报Operation too slow,但pacman不会 #27

Closed Firestar-Reimu closed 1 year ago

Firestar-Reimu commented 1 year ago

Archlinux:用yay会报Operation too slow,但pacman不会

实际上看数据的话,用pacman和yay的区别在于接收core,一个是几十MiB/s,一个是几十KiB/s

如果用tuna/sjtu的镜像源则不会有这么大差距

[firestar @ ArchLinux ~] (22:59:45)
$ sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                   153.5 KiB  21.4 MiB/s 00:00 [------------------------------------------------] 100%
 extra                                                 1740.3 KiB  85.0 MiB/s 00:00 [------------------------------------------------] 100%
 community                                                7.2 MiB   110 MiB/s 00:00 [------------------------------------------------] 100%
:: Starting full system upgrade...
 there is nothing to do
[ble: elapsed 467ms (CPU 76.1%)] sudo pacman -Syyu
[firestar @ ArchLinux ~] (22:59:51)
$ yay -Syyu
:: Synchronizing package databases...
 core                                                   153.5 KiB  33.3 KiB/s 00:05 [------------------------------------------------] 100%
 extra                                                 1740.3 KiB  85.0 MiB/s 00:00 [------------------------------------------------] 100%
 community                                                7.2 MiB   108 MiB/s 00:00 [------------------------------------------------] 100%
error: failed retrieving file 'core.db' from mirrors.pku.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 there is nothing to do
[ble: elapsed 17.615s (CPU 4.0%)] yay -Syyu
Firestar-Reimu commented 1 year ago

最近没有看到类似的现象

$ yay -Syyu
:: Synchronizing package databases...
 core                                                   154.3 KiB  3.42 MiB/s 00:00 [################################################] 100%
 extra                                                 1745.9 KiB  9.69 MiB/s 00:00 [################################################] 100%
 community                                                7.3 MiB  16.5 MiB/s 00:00 [################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
:: Searching databases for updates...
:: Searching AUR for updates...
 there is nothing to do
fuzhenxin commented 1 year ago

问题比较奇怪,也没发现之前的原因