Pages:
Author

Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue - page 35. (Read 69141 times)

member
Activity: 119
Merit: 10
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).



How do you compile? Probably you need to add the same option as on other systems

 make -f makefile.unix USE_UPNP=




Thank you, I actually realized this library is not distributed as rpm for SUSE, so I built it from source on http://miniupnp.free.fr/files/.


hero member
Activity: 714
Merit: 510
USE_UPNP=-  Grin

primecoind doesn't do anything once compiled. Is there a missing step?

legendary
Activity: 1246
Merit: 1011
I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build

+1  Cry
hero member
Activity: 756
Merit: 501
USE_UPNP=-  Grin
full member
Activity: 182
Merit: 100
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).



How do you compile? Probably you need to add the same option as on other systems

 make -f makefile.unix USE_UPNP=

sr. member
Activity: 252
Merit: 250
I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build
+1
member
Activity: 119
Merit: 10
Has anyone here *by any chance* managed to compile this under OpenSUSE. Seems like there is a miniupnpc gallery missing (I shall ask on dedicated forum anyway).

full member
Activity: 182
Merit: 100
Works a lot better now, getting over 2000 PPS on a 16 core Xeon machine, genproclimit at 30.  Better than 0!

Mind sharing that file Smiley
full member
Activity: 140
Merit: 100
I have window qt-client built and running, anything I should look for in debug to help development troubleshooting?

Main thing noticed so far is the primespersec is climbing up faster then before.


Builds fine, but I must have some option wrong -- quad core 3Ghz Windows 7 x64, 16GB memory and I get a whopping 7 pps after 5 minutes

These are the final commands/options I used to build

make memenv_test TARGET_OS=OS_WINDOWS_CROSSCOMPILE

in makefile.mingw
BOOST_SUFFIX?=-mgw46-mt-sd-1_54
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static

mingw32-make -f makefile.mingw
strip primecoind.exe

Any suggestions?

You could try adding -march=native to makefile.mingw (this tells gcc to compile optimized to your CPU type)

 CFLAGS=-mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) -march=native
legendary
Activity: 1470
Merit: 1021
I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build
member
Activity: 76
Merit: 10
Works a lot better now, getting over 2000 PPS on a 16 core Xeon machine, genproclimit at 30.  Better than 0!
sr. member
Activity: 473
Merit: 250
I have window qt-client built and running, anything I should look for in debug to help development troubleshooting?

Main thing noticed so far is the primespersec is climbing up faster then before.


Builds fine, but I must have some option wrong -- quad core 3Ghz Windows 7 x64, 16GB memory and I get a whopping 7 pps after 5 minutes

These are the final commands/options I used to build

make memenv_test TARGET_OS=OS_WINDOWS_CROSSCOMPILE

in makefile.mingw
BOOST_SUFFIX?=-mgw46-mt-sd-1_54
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static

mingw32-make -f makefile.mingw
strip primecoind.exe

Any suggestions?
sr. member
Activity: 336
Merit: 250
Cuddling, censored, unicorn-shaped troll.
Anyone bother just compile primecoind?

I uploaded the primecoind I managed to build on a Ubuntu 12.04.2 here
Just had to add "USE_UPNP=-" to make it successful, as stated here : https://bitcointalksearch.org/topic/howto-setup-a-p2pool-for-feathercoin-182027

I'm a complete newbie, so use at your own risk. My pps have gone up since then, though.  Grin
full member
Activity: 140
Merit: 100
I have window qt-client built and running, anything I should look for in debug to help development troubleshooting?

Main thing noticed so far is the primespersec is climbing up faster then before.
sr. member
Activity: 415
Merit: 250
How to use it?


Quote
cd ~/ ; git clone https://github.com/primecoin/primecoin ; cd ~/primecoin/src ; make -j8 -f makefile.unix ; mv primecoind ~/ ; rm -Rf ~/primecoin/

What is the -j8 parameter on the make command?
makes it build multithreaded (replace 8 with number of cores you have).
(won't make resulting binary faster, just compiles faster)
sr. member
Activity: 243
Merit: 250
Proxy kicked my ass, I can't even download the dependencies I need

same here, lots of 404 Not Found

Anyone bother just compile primecoind?
full member
Activity: 142
Merit: 100


Quote
cd ~/ ; git clone https://github.com/primecoin/primecoin ; cd ~/primecoin/src ; make -j8 -f makefile.unix ; mv primecoind ~/ ; rm -Rf ~/primecoin/
[/quote]

I had primecoin in a subdirectory cd dir/primecoin but if I try to change your string I have problems after cloning, can you (or anybody else) suggest me how to go on
thx

legendary
Activity: 1470
Merit: 1021
Proxy kicked my ass, I can't even download the dependencies I need
sr. member
Activity: 574
Merit: 250
Can we get the windows Mac-Qt build?

Fixed that for you Smiley

You mean in general?  Or with this patch?

Which just seem to add the overhead of checking a timer for each loop, and abort earlier.. maybe a better approach would be to have a limit n, check the time it takes for n at the end and raise or lower n for the next time?

Oh, and a mac build of the original code if you meant that.
http://dls.21stcenturymoneytalk.org/dls/primecoin/Primecoin-Qt-osx.zip

sr. member
Activity: 476
Merit: 250
With your report, Entz, I probably need to run this test again. Perhaps I did not give it enough time to get off of zero pps before I lost patience.

I'm using OS X.
...
Still have the problem that I must run a discrete instance per core rather than just letting primecoind spin off threads.
This problem is resolved with the code released earlier today.
Pages:
Jump to: