Pages:
Author

Topic: [ANNOUNCE] Tenebrix, a CPU-friendly, GPU-hostile cryptocurrency - page 13. (Read 127234 times)

hero member
Activity: 518
Merit: 500
Can somebody please make a service where we can see live difficulty etc. !?
full member
Activity: 210
Merit: 100
Hey so this is in a different thread too, but it definitely belongs here:


For SandyBridge CPUs (corei7 with four digit model numbers) running Linux of some sort.

1) git the package.
2) ./configure  (screw the flags)
3) gedit Makefile
4) find the line with "CFLAGS = " (there may be flags, there may not be)
5) Change that line to: "CFLAGS = -march=native -O3 -Wall -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx"  No quotes.
6) make clean
7) make
Cool start the miner, see how it does!


Brought my performance from 2.6kh/s per core (running one thread per core) to 3.66-3.7kh/s per core.

Tested with 6 threads, +2 kh/s in total.
HT works now!
Just needed some hardcore flags, that's all.


If you have a first generation core i CPU, leave -mavx off the end (ain't no VX), if it won't compile or won't run start cutting the -msse4.x lines off, starting with 4.2, then 4.1, then 4, eventually it'll start working.
Don't forget to make clean then make, if you don't make clean you won't get a new minerd.


I'm going to see if I can make some prebaked windows binaries for various CPUs, I may not have time till monday sometime though, we'll see.



If this works for you, let me know!
If it doesn't, let me know!
hero member
Activity: 574
Merit: 513
tenebrix miner
Code:
--url URL
URL for bitcoin JSON-RPC server (default: http://127.0.0.1:8332/)

Maybe it should be 7777?

Code:
$ ./minerd --user 1 --pass 1 --url "http://127.0.0.1:7777/"
[2011-10-08 00:17:02] Binding thread 0 to cpu 0
[2011-10-08 00:17:03] Binding thread 1 to cpu 1
[2011-10-08 00:17:04] Binding thread 2 to cpu 2
[2011-10-08 00:17:05] Binding thread 3 to cpu 3
[2011-10-08 00:17:06] 4 miner threads started, using SHA256 'scrypt' algorithm.
[2011-10-08 00:18:03] HTTP request failed: Empty reply from server
[2011-10-08 00:18:03] json_rpc_call failed, retry after 30 seconds
^C
tenebrix@bitcoindearia ~/bin $ nmap -p 7777 127.0.0.1

Starting Nmap 5.51 ( http://nmap.org ) at 2011-10-08 00:19 CDT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000044s latency).
PORT     STATE SERVICE
7777/tcp open  cbt

Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds

Same issue as https://bitcointalksearch.org/topic/m.545153
Ah https://bitcointalksearch.org/topic/m.545449

Instead of 7777 must be 8697
member
Activity: 112
Merit: 11
Hillariously voracious
tenebrix, not tenebrixd ?

Hm... I must be slow today... will look into it tomorrow....
hero member
Activity: 574
Merit: 513
Code:
tenebrix@bitcoindearia ~/bin $ ./tenebrix
bitcoin server starting
Segmentation fault
tenebrix@bitcoindearia ~/bin $ [xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
tenebrix: /var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

Otherwise daemon works nicely.
member
Activity: 112
Merit: 11
Hillariously voracious
I already did it for the pool version because some dude from Alaska pecked me oh so hard and oh so systematically over it Wink expect all other branches/gits to get updated soon Smiley
hero member
Activity: 574
Merit: 513
You're trying to build the gui client, for the daemon... make bitcoind
and the bitcoin wx gui always needed wx 2.9 ...

heh, right!  I completely forgot to specify bitcoin (or in this case bitcoind)

Perhaps the makefile for the daemon can default to bitcoind instead of bitcoin?  And maybe change them to tenebrix and tenebrixd?
sr. member
Activity: 406
Merit: 257
You're trying to build the gui client, for the daemon... make bitcoind
and the bitcoin wx gui always needed wx 2.9 ...
full member
Activity: 210
Merit: 100
Knowing that would have made my life easier!  lol
sr. member
Activity: 406
Merit: 257
Ahh, you'll need to install libcurl then.  After that, there will be libcurl.so at that path.

sudo apt-get install libcurl?
Yup, on a recent debian/ubuntu just installing one of the libcurl4-*-dev packages should be enough.
hero member
Activity: 574
Merit: 513
Largely because nobody does a good enough job with search-replace when they release an alt coin.
Actually there is the possible exception of solidcoin, I don't remember bitcoin being in that one.  It may have been blanked from my mind by the fail though.
and partially ixcoin
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
Sadly no, http://curl.haxx.se/download.html
Then follow the directions in the README.

I guess Linux doesn't like me... Happens every time... That's why I still use Windows, at least things make sense to me there...
I'll give it another try tomorrow... Getting square eyes...
full member
Activity: 210
Merit: 100
Largely because nobody does a good enough job with search-replace when they release an alt coin.
Actually there is the possible exception of solidcoin, I don't remember bitcoin being in that one.  It may have been blanked from my mind by the fail though.
hero member
Activity: 574
Merit: 513
Why in the makefile is there still

Code:
all: bitcoin
and
Code:
bitcoin: $(OBJS) obj/init.o obj/ui.o obj/uibase.o
        $(CXX) $(CXXFLAGS) -o $@ $^ $(WXLIBS) $(LIBS)


also, compile issues: http://privatepaste.com/c9f75d6086
full member
Activity: 210
Merit: 100
Sadly no, http://curl.haxx.se/download.html
Then follow the directions in the README.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
Ahh, you'll need to install libcurl then.  After that, there will be libcurl.so at that path.

sudo apt-get install libcurl?
full member
Activity: 210
Merit: 100
Ahh, you'll need to install libcurl then.  After that, there will be libcurl.so at that path.
legendary
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
If it complains about libcurl after telling it to make:  Edit the makefile and change @LIBCURL@ to /use/local/lib/libcurl.so
That'll fix it right up.

If it complains about a , when checking for libcurl, edit configure.sh and put a # at the front of the two lines it is annoyed with.

There is nog libcurl.so in that path...
Pages:
Jump to: