Title: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 16, 2013, 09:21:39 PM Hello,
here is my problem. I have a server with 8 cpu (8 x Intel Xeon L5420 @ 2.50GHz). I'm mining around 2000 PPS, I hardly believe that is doing just 2k pps..I have setgenerate true -1 I'm sure that is possible to get much more pps (i think). Running on Ubuntu 10.04. Version hp4 from mikaelh. So i'm giving a reward 5 XPM to solve this problem. I tried almost everything. I was playing with setgenerate true 1........30.....100...200 but still no more than 2000 PPS. I'm completely lost. Can't get it work properly. Any idea what is the problem? Thanks Title: Re: XPM - Issue with mining....reward 5 XPM Post by: BitRock on July 16, 2013, 09:27:55 PM Hello, according to mikaelh's posthere is my problem. I have a server with 8 cpu (8 x Intel Xeon L5420 @ 2.50GHz). I'm mining around 2000 PPS, I hardly believe that is doing just 2k pps..I have setgenerate true -1 I'm sure that is possible to get much more pps (i think). Running on Ubuntu 10.04. Version hp4 from mikaelh. So i'm giving a reward 5 XPM to solve this problem. I tried almost everything. I was playing with setgenerate true 1........30.....100...200 but still no more than 2000 PPS. I'm completely lost. Can't get it work properly. Any idea what is the problem? Thanks Q: Why is my performance worse on Linux? A: This version relies on libgmp to do most of the complex calculations. Make sure your libgmp is up-to-date. Old versions do not support newer CPUs. I suggest compiling your own libgmp from latest source code for maximum performance. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: logicsol on July 16, 2013, 09:28:43 PM set generate set how many cores you are using. -1 will use all of them.
Make sure you are using the 64bit version of the miner as well. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: FiiNALiZE on July 16, 2013, 09:31:24 PM Compile the source here: https://bitcointalk.org/index.php?topic=255782.0
You should get a massive boost in PPS. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: solstoce on July 16, 2013, 09:45:06 PM Hello, here is my problem. I have a server with 8 cpu (8 x Intel Xeon L5420 @ 2.50GHz). I'm mining around 2000 PPS, I hardly believe that is doing just 2k pps..I have setgenerate true -1 I'm sure that is possible to get much more pps (i think). Running on Ubuntu 10.04. Version hp4 from mikaelh. So i'm giving a reward 5 XPM to solve this problem. I tried almost everything. I was playing with setgenerate true 1........30.....100...200 but still no more than 2000 PPS. I'm completely lost. Can't get it work properly. Any idea what is the problem? Thanks I think this is what your looking for let know if this helps http://www.ppcointalk.org/index.php?topic=341.msg2361#msg2361 Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Eli0t on July 16, 2013, 09:56:49 PM try chemists sse build, since that cpu doesn't have avx some of the newer hp avx builds dont work to well
https://github.com/Chemisist/primecoin https://bitcointalk.org/index.php?topic=253662.msg2716037#msg2716037 AeSZAm1BWParxJJZbNwPqnd5CQCncychqG if you found this helpful Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 16, 2013, 11:29:58 PM Hello, according to mikaelh's posthere is my problem. I have a server with 8 cpu (8 x Intel Xeon L5420 @ 2.50GHz). I'm mining around 2000 PPS, I hardly believe that is doing just 2k pps..I have setgenerate true -1 I'm sure that is possible to get much more pps (i think). Running on Ubuntu 10.04. Version hp4 from mikaelh. So i'm giving a reward 5 XPM to solve this problem. I tried almost everything. I was playing with setgenerate true 1........30.....100...200 but still no more than 2000 PPS. I'm completely lost. Can't get it work properly. Any idea what is the problem? Thanks Q: Why is my performance worse on Linux? A: This version relies on libgmp to do most of the complex calculations. Make sure your libgmp is up-to-date. Old versions do not support newer CPUs. I suggest compiling your own libgmp from latest source code for maximum performance. libgmp is not supported for ubuntu 10.04, i had to install libgmp3 set generate set how many cores you are using. -1 will use all of them. Make sure you are using the 64bit version of the miner as well. yes it's 64bit tried all of them still nothing :( Compile the source here: https://bitcointalk.org/index.php?topic=255782.0 You should get a massive boost in PPS. i have already this ;) Hello, here is my problem. I have a server with 8 cpu (8 x Intel Xeon L5420 @ 2.50GHz). I'm mining around 2000 PPS, I hardly believe that is doing just 2k pps..I have setgenerate true -1 I'm sure that is possible to get much more pps (i think). Running on Ubuntu 10.04. Version hp4 from mikaelh. So i'm giving a reward 5 XPM to solve this problem. I tried almost everything. I was playing with setgenerate true 1........30.....100...200 but still no more than 2000 PPS. I'm completely lost. Can't get it work properly. Any idea what is the problem? Thanks I think this is what your looking for let know if this helps http://www.ppcointalk.org/index.php?topic=341.msg2361#msg2361 not sure what do you mean :S try chemists sse build, since that cpu doesn't have avx some of the newer hp avx builds dont work to well https://github.com/Chemisist/primecoin https://bitcointalk.org/index.php?topic=253662.msg2716037#msg2716037 AeSZAm1BWParxJJZbNwPqnd5CQCncychqG if you found this helpful i had Chemisist version but was doing around 1000-1200PPS ___________ thanks any1 for help Title: Re: XPM - Issue with mining....reward 5 XPM Post by: AgentME on July 16, 2013, 11:33:56 PM PPS is not a good measure for performance.
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: logicsol on July 16, 2013, 11:35:11 PM can you see if all your cpus are getting pegged at 100%?
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 16, 2013, 11:48:35 PM PPS is not a good measure for performance. True. But how to explain that my laptop is doing 1500PPS and 8 cpu together just a bit more......doesn't seem right to me (i think) can you see if all your cpus are getting pegged at 100%? not sure how to check it ??? "top" or some other command? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: nfuse on July 16, 2013, 11:55:09 PM my E5630 does 3096 pps and my E5645 4318 pps both windows (running modified version hp4
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 16, 2013, 11:59:36 PM my E5630 does 3096 pps and my E5645 4318 pps both windows (running modified version hp4 you are talking for 1 cpu-each, right? seems fair that pps Title: Re: XPM - Issue with mining....reward 5 XPM Post by: OnlyC on July 17, 2013, 12:00:34 AM Try ubuntu 12.04 if you have time :)
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: logicsol on July 17, 2013, 12:02:01 AM PPS is not a good measure for performance. True. But how to explain that my laptop is doing 1500PPS and 8 cpu together just a bit more......doesn't seem right to me (i think) can you see if all your cpus are getting pegged at 100%? not sure how to check it ??? "top" or some other command? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 17, 2013, 12:07:12 AM PPS is not a good measure for performance. True. But how to explain that my laptop is doing 1500PPS and 8 cpu together just a bit more......doesn't seem right to me (i think) can you see if all your cpus are getting pegged at 100%? not sure how to check it ??? "top" or some other command? have just terminal/cmd Title: Re: XPM - Issue with mining....reward 5 XPM Post by: logicsol on July 17, 2013, 12:22:15 AM PPS is not a good measure for performance. True. But how to explain that my laptop is doing 1500PPS and 8 cpu together just a bit more......doesn't seem right to me (i think) can you see if all your cpus are getting pegged at 100%? not sure how to check it ??? "top" or some other command? have just terminal/cmd Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 17, 2013, 12:44:50 AM PPS is not a good measure for performance. True. But how to explain that my laptop is doing 1500PPS and 8 cpu together just a bit more......doesn't seem right to me (i think) can you see if all your cpus are getting pegged at 100%? not sure how to check it ??? "top" or some other command? have just terminal/cmd primecoind %CPU between 700-800 what mean this? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: mustyoshi on July 17, 2013, 12:46:42 AM Open up your makefile, and add -O3 -march=native -s and recompile it from source.
Also, do that with libgmp for even more performance. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: logicsol on July 17, 2013, 12:55:12 AM primecoind %CPU between 700-800 what mean this? Sounds like the miner is properly using the CPUs at least, that number means 90-100% usage across all 8 cpus. I think recompiling with the latest libgmp is your best route. I'd hazard a guess that it's not properly threading the CPUs, as you get similar pps as my i7-920 @ stock. AKA it's running your 8 4 core CPUs as 1 8 core cpu. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 17, 2013, 10:08:42 AM primecoind %CPU between 700-800 what mean this? Sounds like the miner is properly using the CPUs at least, that number means 90-100% usage across all 8 cpus. I think recompiling with the latest libgmp is your best route. I'd hazard a guess that it's not properly threading the CPUs, as you get similar pps as my i7-920 @ stock. AKA it's running your 8 4 core CPUs as 1 8 core cpu. huh i have too 920 on desktop pc, i'm doing with it around 3300.... Open up your makefile, and add -O3 -march=native -s and recompile it from source. Also, do that with libgmp for even more performance. DON'T do that with GMP. GMP is already tuned for greatest performance, and using "-O3" can sometimes break code. Maybe i will try it, just to know if are any differnece. Like I said I'm using libgmp3. Should run like libgmp? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 17, 2013, 09:13:51 PM I tested on 2 INTEL Xeon E5410 (4 cores each, 2.33GHz, 2x 6MB L2 cache). This is a total of 8 cores, I think that this is very close to your configuration (with "8 cpus" you mean 8 cores I guess).
I am getting ~4000 pps on this cpu. So there is definitely something wrong with your setup. First, try to compile and install GMP yourself: Code: sudo apt-get install build-essential Then, you should compile mikaelh2's high-performance primecoind: Code: wget http://sourcefwget http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2/download -O primecoin-0.1.1-hp4.tar.bz2 Use this for your primecoin.conf: Code: rpcuser=<somelongstring> Now you should have exactly the same setup as my test setup - except that you have some Ghz more. Let me know if this works for you! As I said, ~4000 pps. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: dego on July 17, 2013, 09:51:12 PM Get htop and view CPU usage from the command line in real time, so you'll exactly see what your cores do and if they are at 100%.
Code: sudo apt-get install htop I get 5000pps from a AMD Phenom 1090 (3.2Ghz) / 16GB RAM / Ubuntu 13.04 64bit from mikhaels hp3 on my desktop... I think your Xeon should do more... How much memory does the machine have? If it is lacking memory then create a swap file: Code: sudo dd if=/dev/zero of=/swapfile bs=64M count=16 Update: Just compiled hp4 and getting up to 6000pps with the same config. Memory usage is around 3.9 from 16GB for my desktop ubuntu. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: ethought on July 18, 2013, 02:57:14 AM Compile the source here: https://bitcointalk.org/index.php?topic=255782.0 You should get a massive boost in PPS. This source is no longer available?? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: dego on July 18, 2013, 06:06:30 AM Not on github but on sourceforge...
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 18, 2013, 12:23:37 PM Get htop and view CPU usage from the command line in real time, so you'll exactly see what your cores do and if they are at 100%. Code: sudo apt-get install htop I get 5000pps from a AMD Phenom 1090 (3.2Ghz) / 16GB RAM / Ubuntu 13.04 64bit from mikhaels hp3 on my desktop... I think your Xeon should do more... How much memory does the machine have? If it is lacking memory then create a swap file: Code: sudo dd if=/dev/zero of=/swapfile bs=64M count=16 Update: Just compiled hp4 and getting up to 6000pps with the same config. Memory usage is around 3.9 from 16GB for my desktop ubuntu. Oooo... nice program this htop :D CPUs are around 99% to 85% Just 1GB memory. 114MB in use. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: dego on July 18, 2013, 01:05:41 PM Then I think your CPU is just not the beast we all think it should (at least for Primeocin mining)...
What kind of internet connection do you have? Maybe latency is very high... Also post the contnts of ./primecoin/primecoin.conf please. PS... you can watch closely what primecoin does while using: Code: watch 'primecoind getmininginfo' if you want lesser updates than every 2 seconds than use e.g: Code: watch -n 5 'primecoind getmininginfo' (every 5 seconds) or even for a bit more info: Code: watch -n 5 -d 'primecoind getmininginfo && primecoind getdifficulty && primecoind listtransactions "*" 1 0' Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 18, 2013, 01:16:43 PM Then I think your CPU is just not the beast we all think it should (at least for Primeocin mining)... What kind of internet connection do you have? Maybe latency is very high... Also post the contnts of ./primecoin/primecoin.conf please. PS... you can watch closely what primecoin does while using: Code: watch 'primecoind getmininginfo' if you want lesser updates than every 2 seconds than use e.g: Code: watch -n 5 'primecoind getmininginfo' (every 5 seconds) or even for a bit more info: Code: watch -n 5 -d 'primecoind getmininginfo && primecoind getdifficulty && primecoind listtransactions "*" 1 0' Not sure but I think about 100/100 primecoind.conf ____ rpcuser=username rpcpassword=AVeryLongComplexOne gen=1 Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 18, 2013, 01:24:53 PM I tested on 2 INTEL Xeon E5410 (4 cores each, 2.33GHz, 2x 6MB L2 cache). This is a total of 8 cores, I think that this is very close to your configuration (with "8 cpus" you mean 8 cores I guess). I am getting ~4000 pps on this cpu. So there is definitely something wrong with your setup. First, try to compile and install GMP yourself: Code: sudo apt-get install build-essential Then, you should compile mikaelh2's high-performance primecoind: Code: wget http://sourcefwget http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2/download -O primecoin-0.1.1-hp4.tar.bz2 Use this for your primecoin.conf: Code: rpcuser=<somelongstring> Now you should have exactly the same setup as my test setup - except that you have some Ghz more. Let me know if this works for you! As I said, ~4000 pps. some issue :( make make: *** No targets specified and no makefile found. Stop. sudo make install make: *** No rule to make target `install'. Stop. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: dego on July 18, 2013, 01:27:57 PM You have to let it configure first. Before running 'make' enter: Code: ./configure Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 18, 2013, 01:33:28 PM You have to let it configure first. Before running 'make' enter: Code: ./configure ::) got it :) Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 18, 2013, 02:24:41 PM Code: sudo apt-get install build-essential Then, you should compile mikaelh2's high-performance primecoind: Code: wget http://sourcefwget http://sourceforge.net/projects/primecoin-hp/files/0.1.1-hp4/primecoin-0.1.1-hp4.tar.bz2/download -O primecoin-0.1.1-hp4.tar.bz2 stuck at this command CFLAGS="-O2" CPPFLAGS="-O2" make -f makefile.unix USE_UPNP="-" Error 1 gmpxx.h: No such file or directory prime.h error main.cpp error i'm sure that is missing gmp, but i already installed it with command above, or not? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 19, 2013, 09:27:29 AM Yes. Try the following:
Code: CFLAGS="-O2 -I/usr/local/include" LDFLAGS="/usr/local/lib" -LCPPFLAGS="-O2" make -f makefile.unix USE_UPNP="-" (the gmp lib got installed to /usr/local, so we have to tell the primecoin build process where to find it) Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 19, 2013, 10:59:46 AM Yes. Try the following: Code: CFLAGS="-O2 -I/usr/local/include" LDFLAGS="/usr/local/lib" -LCPPFLAGS="-O2" make -f makefile.unix USE_UPNP="-" (the gmp lib got installed to /usr/local, so we have to tell the primecoin build process where to find it) hmmm -bash: -LCPPFLAGS=-O2: command not found maybe just -CPPFLAGS ......? or ... Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 19, 2013, 01:13:34 PM -bash: -LCPPFLAGS=-O2: command not found maybe just -CPPFLAGS ......? or ... Sorry, my bad. Try this: Code: LDFLAGS="-L/usr/local/lib" CXXFLAGS="-I/usr/local/include" make -f makefile.unix USE_UPNP="-" If this doesn't work, go back to gmp and do this: Code: cd gmp-5.1.2 then again Code: cd primecoin-0.1.1-hp4/src Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 19, 2013, 04:18:06 PM -bash: -LCPPFLAGS=-O2: command not found maybe just -CPPFLAGS ......? or ... Sorry, my bad. Try this: Code: LDFLAGS="-L/usr/local/lib" CXXFLAGS="-I/usr/local/include" make -f makefile.unix USE_UPNP="-" If this doesn't work, go back to gmp and do this: Code: cd gmp-5.1.2 then again Code: cd primecoin-0.1.1-hp4/src Damn....still not working same error 1 gmpxx.h no such file or directory not working in both ways.... ??? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 19, 2013, 07:41:19 PM OK, lemme quickly test on my system. (All this was just from memory, how it "should" be, but the bitcoin/primecoin build system proved to be a but "unconventional" in parts...)
Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 19, 2013, 07:52:01 PM Ok, it's GMP that misses a piece. Do this:
Code: cd gmp-5.1.2 Then the rest as stated above! Be the prime with you. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 19, 2013, 08:49:03 PM Ok, it's GMP that misses a piece. Do this: Code: cd gmp-5.1.2 Then the rest as stated above! Be the prime with you. ;D conpiled :D what do you mean with this cp primecoind <pathtoyourprimecoininstallation> ? :P i did like this "sudo mv primecoind /usr/local/bin/." <----is this right? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 19, 2013, 11:21:43 PM :)
Seems to be working, but the pps it's still the same around 2000 no idea why -.- @arnuschky Send me the address, so i can send xpm for helping me. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 20, 2013, 02:24:35 AM Here it is: ANtBhPVMqrkhT1C2hN8VFTuM6vTmEYArZs
Sorry to hear that it still doesn't work. Are you sure that your CPUs are free? Is this a shared server or something? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: FreeTrade on July 20, 2013, 02:44:20 AM This CPU here?
http://www.cpubenchmark.net/cpu.php?cpu=Intel+Xeon+L5420+%40+2.50GHz If a cpu benchmark rating of 3389 equates to 2000pps That's about the same as my i7-4770 with a rating of about 10,000 for which I'm getting 6600pps. Could it be as simple as that? I don't know your processor would have such a low rating, it sounds like it should be a beast. Maybe you're mistaking 8 cores for real cores when it's really using hyperthreading, and you've only got 4? If this is the answer, send the reward to Mikael, he deserves it for his generous software. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 20, 2013, 08:32:12 AM Here it is: ANtBhPVMqrkhT1C2hN8VFTuM6vTmEYArZs Sorry to hear that it still doesn't work. Are you sure that your CPUs are free? Is this a shared server or something? Sent. I'm sure are free. No shared. This CPU here? http://www.cpubenchmark.net/cpu.php?cpu=Intel+Xeon+L5420+%40+2.50GHz If a cpu benchmark rating of 3389 equates to 2000pps That's about the same as my i7-4770 with a rating of about 10,000 for which I'm getting 6600pps. Could it be as simple as that? I don't know your processor would have such a low rating, it sounds like it should be a beast. Maybe you're mistaking 8 cores for real cores when it's really using hyperthreading, and you've only got 4? If this is the answer, send the reward to Mikael, he deserves it for his generous software. Hmmm. 8 cpus each got 4 cores that's 32 cores in total. If 1 cpus is rated 3389 and equates to 2000pps. That means all 8 should work 16K pps, right? Title: Re: XPM - Issue with mining....reward 5 XPM Post by: arnuschky on July 20, 2013, 10:19:37 AM Here it is: ANtBhPVMqrkhT1C2hN8VFTuM6vTmEYArZs Sorry to hear that it still doesn't work. Are you sure that your CPUs are free? Is this a shared server or something? Sent. I'm sure are free. No shared. I received it, thanks a lot. Sorry that I couldn't resolve it further. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: FreeTrade on July 20, 2013, 03:05:04 PM Hmmm. 8 cpus each got 4 cores that's 32 cores in total. If 1 cpus is rated 3389 and equates to 2000pps. That means all 8 should work 16K pps, right? Yes, you should be getting about 16K with 8 units (32cores). The 2K number is suspiciously close to the performance you should expect from running only one processor(4 cores). Use a diagnostic program to see if all the processors are the same temperature after running for a while. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: Kavre on July 21, 2013, 01:31:24 PM Hmmm sensors
No i2c device files found. Title: Re: XPM - Issue with mining....reward 5 XPM Post by: FreeTrade on July 21, 2013, 04:35:06 PM Hmmm sensors No i2c device files found. Open up the case and see if those processors are hot. |