Bitcoin Forum
May 02, 2024, 06:36:16 AM *
News: Latest Bitcoin Core release: 27.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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
  Print  
Author Topic: Ufasoft Miner - Windows/Linux, x86/x64, SSE2/OpenCL, Open Source  (Read 630809 times)
sixshot
Newbie
*
Offline Offline

Activity: 4
Merit: 0



View Profile WWW
June 19, 2011, 05:28:35 PM
 #321

Just want to say thanks for having this CPU miner available.  The other CPU miner that had SSE optimization was good and all but it made my system very unresponsive, even though it churns out 450KH/s at best.  This one plays very nicely on my lowly laptop while I'm away from my gaming rig.  It's fast and everything doesn't feel "slow" when multi-tasking or doing other things.  Thanks for making this miner.  When I have saved up enough coins, I am definitely going to send some your way.
1714631776
Hero Member
*
Offline Offline

Posts: 1714631776

View Profile Personal Message (Offline)

Ignore
1714631776
Reply with quote  #2

1714631776
Report to moderator
1714631776
Hero Member
*
Offline Offline

Posts: 1714631776

View Profile Personal Message (Offline)

Ignore
1714631776
Reply with quote  #2

1714631776
Report to moderator
1714631776
Hero Member
*
Offline Offline

Posts: 1714631776

View Profile Personal Message (Offline)

Ignore
1714631776
Reply with quote  #2

1714631776
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714631776
Hero Member
*
Offline Offline

Posts: 1714631776

View Profile Personal Message (Offline)

Ignore
1714631776
Reply with quote  #2

1714631776
Report to moderator
Endeavour79
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile WWW
June 20, 2011, 05:19:11 AM
 #322

First, thanks for developing this miner. Runs good on all my Intel CPUs.

Is there a flag to set the priority/aggression? This would allow to set-up a second (backup) miner in case the first one has connection issues..

Cheers
End

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
June 20, 2011, 08:10:35 AM
 #323

Is there a flag to set the priority/aggression? This would allow to set-up a second (backup) miner in case the first one has connection issues..

Windows CMD shell has such flag:
Code:
start /belownormal bitcoin-miner.exe...

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
Endeavour79
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile WWW
June 20, 2011, 08:12:08 AM
 #324

yes but I use GUIMiner to start the miner..

NSW, Australia - Rigs, Mining, Pools - Local help needed? Send me a message!
theowalpott
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 21, 2011, 05:29:56 PM
 #325

Is there any way to compile this miner using gcc 4.4, instead of 4.5 or above?

I'd like to avoid having to install gcc 4.5 if possible - everything on my system is stable and I'd rather not use an experimental library if possible.

Thanks for any help Smiley

1FwGATm6eU5dSiTp2rpazV5u3qwbx1fuDn
ufasoft (OP)
Sr. Member
****
Offline Offline

Activity: 404
Merit: 251


View Profile WWW
June 21, 2011, 06:24:00 PM
 #326

Is there any way to compile this miner using gcc 4.4, instead of 4.5 or above?

I'd like to avoid having to install gcc 4.5 if possible - everything on my system is stable and I'd rather not use an experimental library if possible.

I'm using new useful C++0x features:
nullptr, scoped enums...
They still can be emulated on old compilers, but I have not time to test the software with all compilers.

VC2010 and latest GCC are mainstream.

Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
theowalpott
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 21, 2011, 06:40:37 PM
Last edit: June 21, 2011, 07:15:36 PM by theowalpott
 #327

Ok, thanks for the quick reply Smiley - I'm hoping that I can get better performance from your miner, as others I've tried don't seem to get near the 1000 clocks per hash that you seem to achieve.

I'll just build a copy of 4.5 from source and run it separately. If anyone else is interested in steps to compile under older versions of Ubuntu (eg, 10.04), I'll write them after I've got it running.

EDIT: Building gcc 4.5 from source on 10.04 is actually a huge pain - has a few dependencies which are not in the repositories. I don't wanna break my install right now so I will have another go when I've got more time!


1FwGATm6eU5dSiTp2rpazV5u3qwbx1fuDn
thedrs
Newbie
*
Offline Offline

Activity: 40
Merit: 0



View Profile
June 23, 2011, 06:40:28 AM
 #328

Ok, thanks for the quick reply Smiley - I'm hoping that I can get better performance from your miner, as others I've tried don't seem to get near the 1000 clocks per hash that you seem to achieve.

I'll just build a copy of 4.5 from source and run it separately. If anyone else is interested in steps to compile under older versions of Ubuntu (eg, 10.04), I'll write them after I've got it running.

EDIT: Building gcc 4.5 from source on 10.04 is actually a huge pain - has a few dependencies which are not in the repositories. I don't wanna break my install right now so I will have another go when I've got more time!



Yeah, I am very interested to use an earlier gcc version.
After several pain days of trying to compile it on an older gcc version I just quit. I also was looking for compiling a static version so as to be able to run it on any system, but it seems the dependencies on the experimental glibc make it a real pain to do that.


Please post if you mange to compile the code on an older ubuntu dynamic or static... thanks.

PS: another option to explore for running it on an older ubuntu with non experimental gcc libs can be using dbootstrap and chroot.
theowalpott
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 23, 2011, 11:36:20 AM
 #329

glad its not just me then!

I think the best way to do it probably to create a temporary library to compile it, like you say using chroot. I found some info on doing that, but I've not had time to play about with it. The other option I may go with is just to create a bootable usb stick running 10.10 64-bit and just use that for mining when I'm not at the machine - obviously I'd have to reboot every time I want to do anything else.. but maybe thats healthy anyway lol

If I do get it all working in 10.04, I'll post here.. probs won't be for a week or 2 though as I'm busy with other stuff Smiley

1FwGATm6eU5dSiTp2rpazV5u3qwbx1fuDn
BCwinning
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
June 24, 2011, 02:04:17 AM
 #330

Thanks for this client! 2MHash faster compared to rpc cpu/4way
If you are still working on this, are there plans for adding some stats to see?
Such as stales/efficiency maybe? I use poclbm-mod for my gpu's and like the information it presents. (as an example)

The New World Order thanks you for your support of Bitcoin and encourages your continuing support so that they may track your expenditures easier.
rocksalt
Newbie
*
Offline Offline

Activity: 51
Merit: 0



View Profile
June 24, 2011, 02:57:34 PM
 #331

hi all, just tested this on a Intel E6850 Dual Core clocked to 3.0GHz and i'm getting on average about 6.77 MHash/s

Much improved over the older version Smiley going to try this on a variety of xeons now and see what i get
rocksalt
Newbie
*
Offline Offline

Activity: 51
Merit: 0



View Profile
June 24, 2011, 03:02:05 PM
 #332

tested on a quad core E5335 2.0GHz and i get about 9 MHash/s
rocksalt
Newbie
*
Offline Offline

Activity: 51
Merit: 0



View Profile
June 24, 2011, 03:08:26 PM
 #333

tested on a dual quad intel and im getting about 18Mhash/s Smiley

rock on !
rocksalt
Newbie
*
Offline Offline

Activity: 51
Merit: 0



View Profile
June 25, 2011, 08:22:46 AM
 #334

walidzohair thanks so much for your post! It works a charm!

I have re-simplified your instructions for anyone else trying to build Ufasoft's CPU Bitcoin Miner under Ubuntu 10.10 x86 (32bit):

############################################################
# Ufasoft CPU bitcoin miner supporting RPC for pooled mining
# x86 (32bit) Debian / Ubuntu install guide
# Tested under Ubunutu 10.10 32bit
# Reference: http://forum.bitcoin.org/index.php?topic=3486.msg114156#msg114156
############################################################

# Install package dependencies
sudo apt-get install gcc-4.5 g++-4.5 libpcre++-dev libcurl4-dev unzip unace

# Manually install JWasm dependency
wget http://www.japheth.de/Download/JWasm/JWasm205bl.zip
unzip JWasm205bl.zip && sudo cp JWASM /usr/bin/jwasm && sudo chmod +x /usr/bin/jwasm

# Download, build and install software (should install in /usr/local/bin)
wget http://ufasoft.com/files/open/ufasoft_bitcoin-miner-0.10.tar.lzma
tar -xavf ufasoft_bitcoin-miner-0.10.tar.lzma
cd ufasoft_bitcoin-miner-0.10/
sudo CC=gcc-4.5 CXX=g++-4.5 ./configure && sudo make && sudo make install

# Cleanup
If your a clean freak, delete all files downloaded and extracted above Smiley

# Usage
bitcoin-miner --help
# Deepbit online mining pool example
bitcoin-miner -a 5 -t 4 -o http://pit.deepbit.net:8332 -u user@domain.com -p 'password'


so, this morning, could't sleep decided to play about with natty.... got right through to:

 sudo CC=gcc-4.5 CXX=g++-4.5 ./configure && sudo make && sudo make install

and this  and then this happend..


checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.5
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.5 accepts -g... yes
checking for gcc-4.5 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc-4.5... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++-4.5 accepts -g... yes
checking dependency style of g++-4.5... gcc3
checking for g++-4.5... /usr/bin/g++-4.5
checking build system type... x86_64-unknown-linux-gnu
checking for jwasm... jwasm
checking for pcre_compile in -lpcre... no
configure: error: "Library not found"

now prior to this i did have a small issue with  libcurl3-nss libcurl4-nss-dev libnspr4 libnspr4-dev libnss3 libnss3-dev installation, but i think i got past that one.

i don't suppose anyone who's up and awake might have hit this one before ?

Man From The Future
Sr. Member
****
Offline Offline

Activity: 371
Merit: 250



View Profile
June 25, 2011, 12:22:52 PM
 #335

Install pcre-dev/libpcre-dev/whatever it's called! Tongue

THE ONE STOP SOLUTION FOR THE CRYPTO WORLD
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Facebook   /  Twitter   /  Reddit   /  Medium   /  Youtube   /
      ▄▄█████████▄▄
   ▄█████████████████▄
  █████▀▀  ███  ▀▀█████
 ████     █████     ████
████     ███████
███▀    ████ ████
███▄   ████   ████
████  ████▄▄▄▄▄████  ████
 ███████████████████████
  █████▄▄       ▄▄█████
   ▀█████████████████▀
      ▀▀█████████▀▀

▄██▀▀▀▀▀▀▀▀▀▀▀▀▀██▄
▄██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██▄
▄█▀                       ▀█▄
▄▄▄▄ ▄█                           █▄ ▄▄▄▄
█   ███▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀███   █
▀▀█▀                                 ▀█▀▀
▄▀                                     ▀▄
▄▄▀▄▄▄▄                                 ▄▄▄▄▀▄▄
█       ▀▀▄                           ▄▀▀       █
█          █                         █          █
█▀▀▄▄▄▄▄▄▄███▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀███▄▄▄▄▄▄▄▀▀█
▒▀▄       ██▀▀▀▀▀▀▀▀▀▀▀▀█▀█▀▀▀▀▀▀▀▀▀▀▀▀██       ▄▀▒
▒█▀▀▀▀▄▄  █              ▀              █  ▄▄▀▀▀▀█▒
▒█      █ ▀▄                           ▄▀ █      █▒
▒▀▄▀▄▄▄▄▀  █▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀▀█  ▀▄▄▄▄▀▄▀▒
▒▒▒▀▄▄▄▄▄ █                             █ ▄▄▄▄▄▀▒▒▒
 ▒▒▒▒▒▒▀▀▀▀▀▄▄▄▄▄▄███████████████▄▄▄▄▄▄▀▀▀▀▒▒▒▒▒▒▒
██
██
██
██
██
██
██
██
██
██
██
██
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
June 25, 2011, 12:38:24 PM
Last edit: June 25, 2011, 05:23:27 PM by BkkCoins
 #336

Fabulous. Thank You!
Ran this on 3 of my low end systems (T5450, Atom D510, T7450) and they all more than doubled due to using SSE2 (compared to minerd, which doesn't seem to use that).

T5450 2.6 MH/s
D510 2.3 MH/s
T7450 3.7 MH/s

Edit:

Actually after running this for a while I realized it would be really handy if it there was an option to tell the program to use simple text output as may be piped to a log file.

I want to start it and let it run as a daemon. I can pipe the output but it has screen commands in it that end up as gibberish in the log. Is it maybe possible to add an option that has simple output, and just outputs events and speed periodically or at each event maybe?

I suppose I could run output thru a filter to clean it up.

theowalpott
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
June 25, 2011, 05:35:58 PM
 #337

Not actually been able to run this miner but would the following work?

run_miner_command -arg1 -arg2 .. etc | grep "string for generated block/share" > out.log

1FwGATm6eU5dSiTp2rpazV5u3qwbx1fuDn
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
June 25, 2011, 06:02:38 PM
 #338

Something like that would work.

It outputs to both stderr and stdout.

Hash rate gets sent to stderr. But the "Accepted" event gets sent to stdout. And then the actual proof code gets sent to stderr. So I'm thinking a small script that grabs both outputs and watches the time and every minute it logs the hash rate and any events also get logged. But most of the has rate values get pulled out. And <Ctrl-M> which seems to be the only "code" also gets pulled out.

Anyway, I haven't done anything yet but maybe tomorrow I'll write something like this.

Nonetheless, I'm very impressed that it doubled my hash rates.

foreshadow
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 26, 2011, 01:30:49 AM
 #339

How do I compile in Linux command line?
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
June 26, 2011, 03:55:24 AM
 #340

For Linux see post a few up by rocksalt.
Only thing is I didn't need prefix GCC details. I just ran,

./configure
make
sudo make install

which worked fine once the right packages and jwasm were installed.

The "make" step does the compiling for you.
The "make install" moves files to correct locations and permissions ready for use.

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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 »
  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!