Author

Topic: Bfgminer with USB Erupter on Ubuntu shows 400% CPU usage (Read 1342 times)

member
Activity: 96
Merit: 10
thanks, is there a difference between -s and -S

speaking of this, is there somewhere a complete list of all flags that can be passed?

I think bfgminer -h prints out all the commands.
sr. member
Activity: 351
Merit: 250
thanks, is there a difference between -s and -S

speaking of this, is there somewhere a complete list of all flags that can be passed?
member
Activity: 96
Merit: 10
If you launched with -s all wouldn't that mine with all available hardware? Including gpu's? I could be wrong, I've not used BFGMiner before.

This would be fitting if you have an Nvidia GPU in your system as googling a little it looks like BFGMiner gets pegged at 100% cpu usage when you try to mine on Nvidia GPU's.

Beyond that I'm not sure what would cause it to max out your CPU, I'd try specifying which things to mine on manually
sr. member
Activity: 351
Merit: 250
It was my understanding that 100% in top was 100% of one thread, so if you have 4 threads (quad core no HT or dual core with HT) then 400% should be max CPU usage.
i see, thanks!

still if i am mining on the erupter, shouldnt the cpu be almost idle?
member
Activity: 96
Merit: 10
It was my understanding that 100% in top was 100% of one thread, so if you have 4 threads (quad core no HT or dual core with HT) then 400% should be max CPU usage.
sr. member
Activity: 351
Merit: 250
Code:
sudo bfgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1HZKrZiUQvLMWnee2uPKvYJk5H7hZZvayT -p x --disable-gpu -S all

Code:
top - 00:06:59 up 53 min,  1 user,  load average: 4.34, 1.66, 0.76
Tasks: 114 total,   1 running, 110 sleeping,   3 stopped,   0 zombie
%Cpu(s): 19.3 us,  5.4 sy, 75.4 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   4120364 total,   647384 used,  3472980 free,    41924 buffers
KiB Swap:  4182012 total,        0 used,  4182012 free,   515084 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
14305 root      20   0  128m 4132 3052 S 399.3  0.1   7:27.06 bfgminer
 1340 matt      20   0 21576 2248 1072 S   0.3  0.1   0:01.01 sshd


is this normal?

i guess no, so how to fix it?

thanks!
Jump to: