Skip to content
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

Large amount of futex syscalls (100% usage) when minting #477

Closed
Demindiro opened this issue May 12, 2019 · 4 comments
Closed

Large amount of futex syscalls (100% usage) when minting #477

Demindiro opened this issue May 12, 2019 · 4 comments

Comments

@Demindiro
Copy link

Description

When unlocking my wallet for minting, I noticed that one of the threads uses 100% of the CPU. Using strace -f -p 30064 I get the following output:

[pid 30099] futex(0x74d16f08, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 30099] futex(0x74d16f08, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 30099] futex(0x74d16f08, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 30099] futex(0x74d16f08, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 30099] futex(0x74d16f08, FUTEX_WAKE_PRIVATE, 1) = 0
...

times a billion.

I've tried to use GDB to figure out what thread is doing:

  • Frequently in __udivmoddi4
  • Also quite often __pthread_mutex_unlock_usercnt
  • Sometimes __offtime

Also some other functions but really not often.

I'll try to install a version with debug symbols to figure out what is going on.


System details

Distributor ID Raspbian
Description Raspbian GNU/Linux 9.8 (stretch)
Release 9.8
Codename stretch
uname -a Linux tunnel 4.14.79-v7+ #‍1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
@backpacker69
Copy link
Member

what package are you using

@Demindiro
Copy link
Author

raspbian-peercoind_0.7.3-1_armhf.deb

@backpacker69
Copy link
Member

can you please try 0.8 rc9

@Demindiro
Copy link
Author

It doesn't seem to be an issue in 0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants