joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 08, 2018, 04:07:00 PM |
|
Hello. I tried to build with Ubuntu 18.04 LTS, but I could not.
/usr/bin/x86_64-linux-gnu-ld: cannot find -lz ...
What should I do?
sudo apt-get install zlib1g-dev
|
|
|
|
|
|
|
|
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 08, 2018, 04:16:36 PM |
|
Thanks, but neither is cpuminer compatible. Both are written in an OO language I'm not famliar with. I'd have to learn either PHP or Java before I could determine if I could convert it to cpuminer compatible C. hey maybe this one https://bitbucket.org/cryptogone/ariocppminer/srcArionum CPU miner implemented in C++ That helps but still a lot of uncertainty. Arionum is more complex than the other argon2 coins so a lot more work. I'm not ready to go there yet.
|
|
|
|
alibalhas
Newbie
Offline
Activity: 23
Merit: 0
|
|
May 11, 2018, 11:59:32 AM |
|
help plz i don,t know why it show that my cpu not support avx2 using ubuntu 16.04 https://prnt.sc/jgjhjd
|
|
|
|
lncm
Member
Offline
Activity: 388
Merit: 13
|
|
May 11, 2018, 03:03:49 PM |
|
Your CPU supports AVX, not AVX2.
|
|
|
|
alibalhas
Newbie
Offline
Activity: 23
Merit: 0
|
|
May 11, 2018, 03:07:35 PM |
|
Your CPU supports AVX, not AVX2. my cpo e5-2690 v4 its support AVX2
|
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 11, 2018, 10:38:21 PM |
|
Your CPU supports AVX, not AVX2. my cpo e5-2690 v4 its support AVX2 Windows or Linux? If Linux how did you compile? If Windows did you try the AVX2 build?
|
|
|
|
4ward
Member
Offline
Activity: 473
Merit: 18
|
|
May 13, 2018, 04:39:57 PM |
|
cpuminer-opt-3.8.8.1
API displays hashrate before shares are submitted.
Thank you for this, it is helpful In case you plan to implement Large/Huge pages (and I hope you do ), Verium miner which is based on cpuminer-multi, have implemented it for both Linux and Windows Assuming code efficiency for Verium is roughly the same, performance improvement is from 35h/s to 48h/s, which is ~37% Take a look https://github.com/fireworm71/veriumMiner/commit/d02684e361ccf1842402d08fc8cb406fcd3fbb36
|
|
|
|
bart1110
Newbie
Offline
Activity: 7
Merit: 0
|
|
May 14, 2018, 02:05:57 AM |
|
Hey Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
|
|
|
|
Egger
Jr. Member
Offline
Activity: 93
Merit: 7
|
|
May 14, 2018, 11:21:35 AM |
|
Hey Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use --cpu-priority set process priority (default: 0 idle, 2 normal to 5 highest) (and set affinity or threads also) I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file)
|
|
|
|
bart1110
Newbie
Offline
Activity: 7
Merit: 0
|
|
May 14, 2018, 01:39:44 PM Last edit: May 16, 2018, 02:58:48 AM by bart1110 |
|
Hey Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use --cpu-priority set process priority (default: 0 idle, 2 normal to 5 highest) (and set affinity or threads also) I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file) Thanks, very usefull Edit: Could someone help me setup affinity for i5-5200u?
|
|
|
|
Iamtutut
|
|
May 18, 2018, 07:57:08 AM |
|
I can not use this miner at all. I have windows 10 build 1803 (no choice hardware change + new install) and a Ryzen 5 2400G with 8GB DDR4 2400MHz.
Everytime I launch the miner, the window closes at once, even while running as admin or with compatibility mode activated.
How could I solve this issue ?
Thanks.
|
|
|
|
Egger
Jr. Member
Offline
Activity: 93
Merit: 7
|
|
May 18, 2018, 11:32:15 AM |
|
Hey Sory for the noob question, but is there option to lower cpu usage during mining other than setting number of threads?
You can try/use --cpu-priority set process priority (default: 0 idle, 2 normal to 5 highest) (and set affinity or threads also) I'm using --cpu-priority 0 - so you will not feel any performance issue while you are working, CPU pumps and dumps hash rate automatically It's quite the same as you will set "priority usage" on windows taskmanger (process) but you don't need to because it's already in your command line (bat-file) Thanks, very usefull Edit: Could someone help me setup affinity for i5-5200u? I would recommend to use only "real" cores, so no hyperthreads. That means, you first have to know how much cores your CPU has. Then, you can choose on which and how many cores you want to mine with. This is in binary form and you have to "convert" this into hex. Sounds difficult, but quite easy... Example for my CPU: I'm using a i8700k, 6 cores - 12 threads. - each core is followed by it's hyperthread I'm mining on all 6 "real" cores...so it looks like this: 10101010101 1 = core and using for mining 0 = hyperthread and not used for mining "converting" this (10101010101) into hex: 555 so my --cpu-affinity for 6 cores without hyperthreads is: --cpu-affinity 0x555 If want to mine only on 4 cores it would be: 1010101 converted to hex: 55 ergo: --cpu-affinity 0x55 Because it's my "working" PC and I don't want to get laggy I lowered the intensitiy to 0 - which means idle-power. So, if I need more cpu power on demand the miner throttles down All in all my command line in my bat-file looks like this: cpuminer-xxxx -a algo --cpu-affinity 0x555 --cpu-priority 0 -o stratum+tcp://pool:port -u wallet-or-name -p x -q -q is for not spamming every core's hash With --cpu-affinity you can set/select the cores directly. Using -t for threads isn't necessary anymore If you only using -t it usually uses the number in sum, so core and it's hyperthread. Ergo less hash-rate for the same power-usage You can check this or look it up in any hardware monitoring tool like "HWMonitor", there you can see the wattage the cpu consumes, what cores are working etc. Play around with that and your cores/intensity to get the best you want. It's also different from coin (algo) to another and can be laggy if your working on your PC, so lower intensity or threads. Some algos are "heavier" then others
|
|
|
|
bart1110
Newbie
Offline
Activity: 7
Merit: 0
|
|
May 18, 2018, 01:49:56 PM Last edit: May 18, 2018, 02:12:53 PM by bart1110 |
|
Thank you very much, but if i dont use -t option, all threads are still doing job. I got i5-5200u - 2 cores 4threads so i use affinity 0x5, same thing on another pc with i3-380m also 2 cores 4 threads and still all threads work anyway. https://i.imgur.com/wEdm2NK.jpg
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 18, 2018, 02:32:09 PM |
|
I can not use this miner at all. I have windows 10 build 1803 (no choice hardware change + new install) and a Ryzen 5 2400G with 8GB DDR4 2400MHz.
Everytime I launch the miner, the window closes at once, even while running as admin or with compatibility mode activated.
How could I solve this issue ?
Thanks.
README.txt: cpuminer is a console program that is executed from a DOS command prompt. There is no GUI and no mouse support.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 18, 2018, 02:47:53 PM |
|
Thank you very much, but if i dont use -t option, all threads are still doing job. I got i5-5200u - 2 cores 4threads so i use affinity 0x5, same thing on another pc with i3-380m also 2 cores 4 threads and still all threads work anyway. CPU affinity is only used with -t less than the number of CPU cores.
|
|
|
|
bart1110
Newbie
Offline
Activity: 7
Merit: 0
|
|
May 18, 2018, 02:59:47 PM |
|
So if i have 2 cores 4 threads i should use -t 2 cpu-affinity 0x5?
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 18, 2018, 04:37:23 PM |
|
So if i have 2 cores 4 threads i should use -t 2 cpu-affinity 0x5?
It would help if you said what you're trying to accomplish. Unless you have a good reason, as a newbie I doubt you have one, you shouldn't be messing with this. If you only want to run 2 miner threads use -t 2. Ideally each thread will run on a different physical core, if not you can use --cpu-affinity to explicitly specify which logical cores should be used, but you need to understand the what and the why before the how.
|
|
|
|
bart1110
Newbie
Offline
Activity: 7
Merit: 0
|
|
May 18, 2018, 05:18:42 PM |
|
So if i have 2 cores 4 threads i should use -t 2 cpu-affinity 0x5?
It would help if you said what you're trying to accomplish. Unless you have a good reason, as a newbie I doubt you have one, you shouldn't be messing with this. If you only want to run 2 miner threads use -t 2. Ideally each thread will run on a different physical core, if not you can use --cpu-affinity to explicitly specify which logical cores should be used, but you need to understand the what and the why before the how. I want to use affinity because when i dont, miner uses 100% of cpu and thats my pc for work. Even more i noticed i get better h/s using affinity than otherwise. From my understanding affinity links thread to cpu thats why you can achieve better perfomance by using this option. So if i want to link threads to physical cores (which i got 2 in i5-5200u) i need to use 101 in binary(1 for every physical core), that converts to 5 in hex so it gives me 0x5 for cpuminer. But the thing i dont understand is when i only use affinity without -t it still uses all 4 threads, thats why i asked if i should use -t 2 option for my 2 core 4 threads cpu.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
May 18, 2018, 06:57:38 PM |
|
So if i have 2 cores 4 threads i should use -t 2 cpu-affinity 0x5?
It would help if you said what you're trying to accomplish. Unless you have a good reason, as a newbie I doubt you have one, you shouldn't be messing with this. If you only want to run 2 miner threads use -t 2. Ideally each thread will run on a different physical core, if not you can use --cpu-affinity to explicitly specify which logical cores should be used, but you need to understand the what and the why before the how. I want to use affinity because when i dont, miner uses 100% of cpu and thats my pc for work. Even more i noticed i get better h/s using affinity than otherwise. From my understanding affinity links thread to cpu thats why you can achieve better perfomance by using this option. So if i want to link threads to physical cores (which i got 2 in i5-5200u) i need to use 101 in binary(1 for every physical core), that converts to 5 in hex so it gives me 0x5 for cpuminer. But the thing i dont understand is when i only use affinity without -t it still uses all 4 threads, thats why i asked if i should use -t 2 option for my 2 core 4 threads cpu. I believe your questions have been answered.
|
|
|
|
|