100% cpu utilization on Mac OS X #855

Open
opened 2016-05-04 21:04:27 +02:00 by svlobanov · 3 comments
svlobanov commented 2016-05-04 21:04:27 +02:00 (Migrated from github.com)

Bitmessage v0.6.0 works OK, but uses 100% CPU after identity generation (8 identities, passphrase). If reopen the application it works OK.

macb:~ sergey$ ps aux | grep Bi
sergey 589 397.2 4.1 3116788 173496 ?? R 9:41PM 12:16.14 /Volumes/Bitmessage/Bitmessage.app/Contents/MacOS/Bitmessage -psn_0_127007

macb:~ sergey$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F1507

Bitmessage v0.6.0 works OK, but uses 100% CPU after identity generation (8 identities, passphrase). If reopen the application it works OK. macb:~ sergey$ ps aux | grep Bi sergey 589 **397.2** 4.1 3116788 173496 ?? R 9:41PM 12:16.14 /Volumes/Bitmessage/Bitmessage.app/Contents/MacOS/Bitmessage -psn_0_127007 macb:~ sergey$ sw_vers ProductName: Mac OS X ProductVersion: 10.9.5 BuildVersion: 13F1507
PeterSurda commented 2016-05-04 21:07:22 +02:00 (Migrated from github.com)

I'll look at it. I tested it on 10.7.x and 10.11.x and it worked fine, but I haven't tried deterministic addresses recently.

I'll look at it. I tested it on 10.7.x and 10.11.x and it worked fine, but I haven't tried deterministic addresses recently.
PeterSurda commented 2016-05-05 11:09:37 +02:00 (Migrated from github.com)

You know, when you create an address, PyBitmessage will generate a maximum TTL pubkey message for each of them. This takes a bit of time. If you shut down it down, it will wait until all the messages are created before closing the window. I suppose this happened to you but I'll still do the test shortly.

You know, when you create an address, PyBitmessage will generate a maximum TTL pubkey message for each of them. This takes a bit of time. If you shut down it down, it will wait until all the messages are created before closing the window. I suppose this happened to you but I'll still do the test shortly.
PeterSurda commented 2016-05-06 13:27:51 +02:00 (Migrated from github.com)

I tested it and it's as I suspected. After the pubkeys are send out (on my 7 year old mac mini it takes maybe 10 minutes) the CPU usage drops again. So all is ok and it's a UI question (the UI could indicate to the user better what it's doing now). I'll leave this open for reference and close it once I do the UI change.

I tested it and it's as I suspected. After the pubkeys are send out (on my 7 year old mac mini it takes maybe 10 minutes) the CPU usage drops again. So all is ok and it's a UI question (the UI could indicate to the user better what it's doing now). I'll leave this open for reference and close it once I do the UI change.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2025-02-24#855
No description provided.