Open baryluk opened 3 years ago
quite xtrange, i have linux 3.16 and 7 devices connected.. debian jessie and is quite faster.. ummm WELL maybe nos so faster.. taking screeenshot can noted something:
BUT noted that in linux 4.9 is MORE SLOWER and later in 5.X MORE MORE SLOWER so i guess is a problem of linux modern coding 😅😂
It seems instantaneous here. That's curious because this should return values found by the kernel during USB enumeration, so it shouldn't take long to read them. I'm on 5.10.16 here, but never noticed anything strange in previous kernels. Maybe this is related to the USB controller you have? (I use a computer with an Intel controller, but have successfully used this in computers with other controllers as well, including some with a non-x86 processor.)
It seems instantaneous here. That's curious because this should return values found by the kernel during USB enumeration, so it shouldn't take long to read them. I'm on 5.10.16 here, but never noticed anything strange in previous kernels. Maybe this is related to the USB controller you have? (I use a computer with an Intel controller, but have successfully used this in computers with other controllers as well, including some with a non-x86 processor.)
hey, look! in my dell i7 of course is quite enought fast. . but foir others CPU and less power.. is xtremelly slow in recent linux kernels.. that-s why in my house i used always older software..
that is the situation:
cpu/kernel | 3.X | 4.X | 5.X |
---|---|---|---|
semprom | sufering | suffering | eternal slow |
core duo | sufering | suffering | eternal slow |
dual core | slow | slower | eternally slow |
i3/i5 | normal | normal | slow |
i7/i9 | fast | fast | fast |
ryzen | instantly | fast | fast |
git master @ a72881a1d25b2b1ea7718c5e2f76b92ee43d8ef8
Linux 5.10.13
Clicking
USB Devices
shows no results, and hangs the process. 0% CPU usage. After few minutes it gets back to life.It is stuck reading stuff from sysfs:
Reading these files is slow:
Maybe show a progress bar, that something is happening?
Also the values are uncached, so any click, resize, scroll, etc, will re-read everything again.
Another good idea is to first read basic information, and display it, then asynchronously read extra information.
A simple
lsusb
on my machine takes usually less than 2 seconds, not minutes.