Bitcoin Forum
April 16, 2024, 01:51:18 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
Author Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue  (Read 69101 times)
Luckybit
Hero Member
*****
Offline Offline

Activity: 714
Merit: 510



View Profile
July 10, 2013, 07:14:28 PM
 #41

When I compile on windows with mingw32 and then run primecoind it gives error: can't connect to server. Does anyone know the cause?.

I get that error on linux when I forget to sudo

You need to run it as a daemon

primecoind --daemon

without it thinks your trying to connect to the server to send a command (for example getmininginfo).

In my case primecoind runs but doing nothing, and then if I open another cmd window and type primecoind.exe getinfo it tells me error: can't connect to server

Getting the same error as you. Someone should show a snapshot of their screen so we can see what its supposed to do.
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
July 10, 2013, 07:16:27 PM
 #42

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.
twobits
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250



View Profile
July 10, 2013, 07:20:56 PM
 #43

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


█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
███
███
███
███
███
███
███
███
███
HyperQuant.net
Platform for Professional Asset Management
███
███
███
███
███
███
███
███
███
WhitePaper
One-Pager
███
███
███
███
███
███
███
███
███
Telegram 
Facebook
Twitter
Medium
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
███
█████                █████      ███████             
█████                ███    █████████████       
█████                ██  █████████████████   
█████                █  ██████              ██████ 
█████                    ████                      ████ 
█████████████  █████                        ████
█████████████  █████                        ████
█████████████  █████                        ████
█████                    █████                             
█████                █  ██████              ███████
█████                ██  ███████████    █████ 
█████                ███    █████████    ████   
█████                █████      ███████    ██
craslovell
Legendary
*
Offline Offline

Activity: 1470
Merit: 1021



View Profile WWW
July 10, 2013, 07:39:00 PM
 #44

Proxy kicked my ass, I can't even download the dependencies I need
Giodark
Full Member
***
Offline Offline

Activity: 142
Merit: 100



View Profile
July 10, 2013, 07:43:00 PM
 #45



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

azwccc
Sr. Member
****
Offline Offline

Activity: 243
Merit: 250


View Profile
July 10, 2013, 07:43:22 PM
 #46

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?

Bitrated user: azwccc.
BazkieBumpercar
Sr. Member
****
Offline Offline

Activity: 415
Merit: 250



View Profile
July 10, 2013, 07:47:43 PM
 #47

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)
shinkicker
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 10, 2013, 08:11:54 PM
Last edit: July 10, 2013, 08:24:01 PM by shinkicker
 #48

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.
Kouye
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Cuddling, censored, unicorn-shaped troll.


View Profile
July 10, 2013, 08:18:00 PM
 #49

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://bitcointalk.org/index.php?topic=182027.0

I'm a complete newbie, so use at your own risk. My pps have gone up since then, though.  Grin

[OVER] RIDDLES 2nd edition --- this was claimed. Look out for 3rd edition!
I won't ever ask for a loan nor offer any escrow service. If I do, please consider my account as hacked.
nhminer
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250



View Profile
July 10, 2013, 08:54:11 PM
 #50

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?

BCH - 1EshwUEg9LRbY5WMSw7bkBGQUYQeenkcet
Vilepickle
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
July 10, 2013, 08:56:47 PM
 #51

Works a lot better now, getting over 2000 PPS on a 16 core Xeon machine, genproclimit at 30.  Better than 0!

BTC: 14PzAZCW1k8aA4FFFZ55LxizQqwBR969ee
craslovell
Legendary
*
Offline Offline

Activity: 1470
Merit: 1021



View Profile WWW
July 10, 2013, 09:01:19 PM
 #52

I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build
shinkicker
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
July 10, 2013, 09:09:27 PM
 #53

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
vinne81
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
July 10, 2013, 09:11:21 PM
 #54

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
CryptoBeggar
Member
**
Offline Offline

Activity: 119
Merit: 10


View Profile
July 10, 2013, 09:14:03 PM
 #55

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).


First MasterCoin protocol transaction -> https://bitcointalk.org/index.php?topic=265488.msg2940318#msg2940318; please refer to thread disclosed for more information
Eli0t
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
July 10, 2013, 09:14:43 PM
 #56

I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build
+1

LTC:  LKpJf3uk7KsHU73kxq8iFJrP1AAKN7Yni7  DGC:  DKXGvEbj3Rwgrm2QQbRyNPDDZDYoq4Y44d  XPM:  AWV5AKfLFyoBaMjg9C77rGUBhuFxz5DGGL
vinne81
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
July 10, 2013, 09:16:03 PM
 #57

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=

eule
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


View Profile
July 10, 2013, 09:19:09 PM
 #58

USE_UPNP=-  Grin

vingaard
Legendary
*
Offline Offline

Activity: 1246
Merit: 1011



View Profile
July 10, 2013, 09:22:09 PM
 #59

I'm jealous right now. Waiting for the kind fellow who releases an optimized windows build

+1  Cry
Luckybit
Hero Member
*****
Offline Offline

Activity: 714
Merit: 510



View Profile
July 10, 2013, 09:24:10 PM
 #60

USE_UPNP=-  Grin

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

Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!