On my Beaglebone AI via Wi-Fi, I got this:

debian@beaglebone:~$  *time apt search vile*
Sorting... Done
Full Text Search... Done

*real    2m10.764s*
*user    2m5.185s*
*sys     0m3.954s*


Raspberry Pi 4 Wi-Fi:

*real    0m2.637s*
*user    0m2.349s*
*sys     0m0.288s*



Running 'strace  apt search vile' on the BBAI, it appears to be stuck in
some sort of read loop which is taking all the time.
           *.*
*           .*
*           .*

*read(5,
"\344\255\246h4F\314\330y\241\250D2\350i3\0044H\253\16\250\306\364\212`2\27\331\355\323J"...,
4096) = 4096*
*read(5,
"I\210\363\32\364o$\16[\201]bS`S\357\3620\372QC\202\245b\271\300\312|\311Q\355\27"...,
4096) = 4096*
*read(5, "
n\206Z\225\271\264\35\r,\203\331f\5;\260k\200p\314\16\355\222\204\332A/\226\267\237\277\33"...,
4096) = 4096*
*read(5,
"\250\235\303\34B\216GE\2<\266\275P\262\210]`0{\222\306\270p\245\214\310\6\33\231\3343\33"...,
4096) = 3200*
*read(5, "", 4096)                       = 0*
*) = 26ext Search... Donearch... Done\r", 26*


On the RasPi, it runs through quite quickly and done.

Cheers,

Jon





On Mon, Feb 1, 2021 at 9:18 AM Chris Green <c...@isbd.net> wrote:

> I have recently done a clean install of Debian on a BBB and it feels
> *very* slow, especially when running apt.  Even 'apt search' just
> crawls along at times.
>
> Has something changed to cause this or have I just got used to fast
> hardware and forgotten what a BBB is like, or what?
>
> Here's a timing of a search:-
>
>     chris@beaglebone$ time apt search vile
>     Sorting... Done
>     Full Text Search... Done
>
>     [snip results]
>
>     real    4m4.103s
>     user    3m55.675s
>     sys     0m7.152s
>
> Over four minutes for a simple search seems rather slow.
>
> I tried the same on an old Raspberry Pi :-
>
>     chris@dns$ time apt search vile
>     Sorting... Done
>     Full Text Search... Done
>
>     [snip results]
>
>     real        0m8.512s
>     user        0m8.228s
>     sys 0m0.285s
>
> Just eight seconds, much more reasonable, so what's happened to the BBB?
>
>
> --
> Chris Green
> ยท
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/kfpleh-k7tl.ln1%40esprimo.zbmc.eu
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkrzpf0bRSjk84Dt9Os%2BcPuyTr86PTCQckZvH__JxBKW4w%40mail.gmail.com.

Reply via email to