New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lux_0.24.0_Linux_arm64 extremely slow start #1340
Comments
I don't have a Linux arm64 machine, what's the output of |
木有输出,挂那里了,没有下一步 |
What's your OS (name and version)? I tested it on a Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-99-generic aarch64) machine, and it works fine:
|
|
This comment was marked as outdated.
This comment was marked as outdated.
测量 0.24 首次输出时间,花费 2m24.369s
|
~ $ time lux
Run lux failed: too few arguments
real 0m0.034s
user 0m0.005s
sys 0m0.035s
~ $ rm $TMPDIR/fake_useragent_0.2.0.json
~ $ time lux
Run lux failed: too few arguments
real 0m1.813s
user 0m0.064s
sys 0m0.085s
~ $ time lux
Run lux failed: too few arguments
real 0m0.032s
user 0m0.006s
sys 0m0.030s |
Absolute worst case after repeating running lux $ strace -c ./lux
Run lux failed: too few arguments
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- -------------------
95.78 1.099493 74 14813 10519 rt_sigreturn
1.10 0.012603 157 80 7 futex
0.48 0.005493 23 229 mmap
0.25 0.002862 21 133 mprotect
0.22 0.002509 418 6 4 epoll_ctl
0.20 0.002250 33 67 9 openat
0.19 0.002222 21 104 prctl
0.18 0.002117 23 91 munmap
0.18 0.002042 68 30 rt_sigprocmask
0.18 0.002026 33 60 read
0.15 0.001699 65 26 fcntl
0.12 0.001390 21 65 5 newfstatat
0.11 0.001265 31 40 readlinkat
0.11 0.001224 1224 1 timer_delete
0.10 0.001174 21 55 close
0.10 0.001133 20 55 fstat
0.09 0.001063 265 4 clone
0.08 0.000930 7 124 rt_sigaction
0.08 0.000903 150 6 sched_yield
0.06 0.000701 25 28 23 faccessat
0.06 0.000659 659 1 execve
0.05 0.000520 30 17 pread64
0.03 0.000371 23 16 mremap
0.02 0.000252 126 2 epoll_pwait
0.02 0.000192 21 9 fstatfs
0.01 0.000133 133 1 ioctl
0.01 0.000123 123 1 setitimer
0.01 0.000112 112 1 prlimit64
0.01 0.000088 88 1 nanosleep
0.01 0.000061 20 3 2 madvise
0.00 0.000051 51 1 pipe2
0.00 0.000047 47 1 epoll_create1
0.00 0.000045 22 2 getrandom
0.00 0.000039 39 1 timer_settime
0.00 0.000038 38 1 timer_create
0.00 0.000026 26 1 getpid
0.00 0.000023 23 1 set_tid_address
0.00 0.000020 20 1 sched_getscheduler
0.00 0.000020 20 1 sched_getaffinity
0.00 0.000019 9 2 sigaltstack
0.00 0.000019 19 1 getuid
0.00 0.000000 0 1 gettid
------ ----------- ----------- --------- --------- -------------------
100.00 1.147957 71 16083 10569 total Note the high amount of rt_sigreturn Others strace logs also pointing to a lot of SIGURG. But I can't point where is it coming from. v0.23.0...v0.24.0 |
test after reboot
|
Please try with v0.24.1, I have bumped the go version to 1.22, hope this is a cross-compile issue |
I updated the v0.24.1 version, and it still takes 2-3 minutes to start for the first time, and the version number is still incorrect, it shows v0.0.0. |
Which binary did you download? From https://github.com/iawia002/lux/releases/tag/v0.24.1 here? NOTE: The version number will only be displayed in the binary file from the release page |
The early version was installed via Homebrew and updated to v0.24.1 today in the terminal with "brew upgrade lux". |
Through the following operations, lux can start quickly, but the version number is still incorrect.
|
升级0.24.1以后,还是同样的问题😂 |
Regarding the version display, I installed older versions one by one until v0.20.0 would print the correct version number. Last login: Mon May 6 21:59:16 on ttys001 lux: version v0.20.0, A fast and simple video downloader. |
|
Got it, the install script in homebrew needs an update |
lux_0.24.0_Linux_arm64 can't run.
0.23.0 works
The text was updated successfully, but these errors were encountered: