yetis
Member
Offline
Activity: 112
Merit: 10
|
|
July 05, 2011, 02:58:54 PM Last edit: July 05, 2011, 03:17:41 PM by FairLight |
|
'cause "test" only sets the flags and is faster in execution than "cmp".
1. CMP only sets Flags. 2. TEST is analog of AND for flags. 1. "cmp" matches the first operand with the second one and fixes the flags accordingly. Internally the first operand is subtracted from the second operand. (This is why test is faster?!?) The first operand can be a memvariable or a register. The second operand can be a constant additionally. Both operands have to be equal, unless the second is an 8-bit constant. Also it is to regard that at least one operand is a register. 2. "test" executes a logical AND-conjunction and doesn't save the output, instead it only sets the flags. Both operands must be equal. Maybe i am wrong, but that's what i've learned.
|
|
|
|
pennytrader
|
|
July 05, 2011, 03:01:37 PM |
|
what's the difference of the new version?
|
please donate to 1P3m2resGCP2o2sFX324DP1mfqHgGPA8BL
|
|
|
ufasoft (OP)
|
|
July 05, 2011, 03:23:10 PM |
|
what's the difference of the new version?
1. One small optimization for CPU 2. modified for better performance on GPU (especially HD5870). Next build will have BFI_INT optimization for GPU.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
yetis
Member
Offline
Activity: 112
Merit: 10
|
|
July 05, 2011, 04:24:01 PM |
|
Anyway. I've looked into a book called "assembly compact" and the cycles are the same. (Work on the loops...)
Tested the new miner on four different cpus (older 2cores and latest i7-4core) and the speed looked the same in the first ten seconds. Then the speed went up about 5%. Great work!
(I have a question about compiling. Do you use an IDE like RADASM? And how to setup JWASM? I want to compile the source for myself for testing purposes, but it's a little bit complicated, cpp + libraries, etc. Do i need the vctoolkit? Please PM. Thank you.)
|
|
|
|
ufasoft (OP)
|
|
July 05, 2011, 04:35:19 PM |
|
(I have a question about compiling. Do you use an IDE like RADASM? And how to setup JWASM? I want to compile the source for myself for testing purposes, but it's a little bit complicated, cpp + libraries, etc. Do i need the vctoolkit? Please PM. Thank you.)
The project developed under VS2010. I use JWASM under linux because it is compatible with MASM. JWASM for linux is singe executable file, just download it.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
ufasoft (OP)
|
|
July 05, 2011, 07:22:48 PM |
|
Version 0.16 with BFI_INT uploaded.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
theowalpott
Member
Offline
Activity: 80
Merit: 10
|
|
July 05, 2011, 08:55:07 PM |
|
Will you be releasing the source?
|
1FwGATm6eU5dSiTp2rpazV5u3qwbx1fuDn
|
|
|
os2sam
Legendary
Offline
Activity: 3586
Merit: 1098
Think for yourself
|
|
July 06, 2011, 03:02:21 AM |
|
Version 0.16 with BFI_INT uploaded.
I just downloaded .16. With .13 and .14 I got a peak of 5.65 MH/s on my Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz. With .16 I peak a 5.74 Mhash/s. Still won't work with my Radeon HD 4670 though. Thanks for the update. Sam
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
skottiejay
Full Member
Offline
Activity: 140
Merit: 110
bitcoinnaire
|
|
July 07, 2011, 03:39:55 PM |
|
Is this the best miner for people who can only CPU mine?
|
What else could I say?
|
|
|
compro01
|
|
July 07, 2011, 04:58:31 PM |
|
Is this the best miner for people who can only CPU mine?
certainly for people with intel processors. for AMD, the 4way RPC miner may be a little better.
|
|
|
|
Sawzall
|
|
July 07, 2011, 05:58:26 PM |
|
Dear ufasoft, (SetThreadPriority(THREAD_PRIORITY_IDLE)). Current version works nice but if I try to use other applications when bitcoin-miner.exe is working then windows freezes for several seconds every minute. This is a big headache for me. Thank you.
Now CPU threads work on THREAD_PRIORITY_LOWEST. And they don't freeze other applications. But windows freeze because the miner uses GPU, and Thread Priority has no effect on GPU. I forgot to mention that i use CPU-only mining because my GPU is Radeon 3650 which has no OpenCL support. I understand that thread priority has no effect on GPU. Should i try to use -g no switch with my Radeon 3650? On the other hand before bitcoin mining i used GIMPS Prime95 client and my system never freezed with it. I checked base worker thread priority of prime95.exe and bitcoin-miner.exe using sysinternals process explorer. For prime95.exe base thread priority is 1 (i believe this is THREAD_PRIORITY_IDLE). For bitcoin-miner.exe base thread priority is 6 and this leads to user interface responsibility problems. I would like to change thread priority by myself using your source code. For this it would be nice if you give us some info about compililing windows executable from your sources (what compiler are you using, what prerequisites required, etc). I've been trying to compile the source using VS2010 with no luck so far.
|
|
|
|
ufasoft (OP)
|
|
July 07, 2011, 06:48:08 PM |
|
I've been trying to compile the source using VS2010 with no luck so far.
We provide full source code for VS2010 with CPU and GPU support for 100 BTC.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
d3m0n1q_733rz
|
|
July 08, 2011, 09:48:06 AM |
|
Nice to see some asm here.
I've overlooked some code and maybe there's some little improvement possible, for example to exchange opcodes like "cmp" with "test", 'cause "test" only sets the flags and is faster in execution than "cmp". If it's not, i apologize for my comment.
cul8'er.
Could you copy the block(s) of code that you're talking about so we can see a little easier if what you're talking about is possible? If so, there's an increased possibility of macro-fusion for CPU optimization.
|
Funroll_Loops, the theoretically quicker breakfast cereal! Check out http://www.facebook.com/JupiterICT for all of your computing needs. If you need it, we can get it. We have solutions for your computing conundrums. BTC accepted! 12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
|
|
|
dikidera
|
|
July 09, 2011, 07:28:35 AM |
|
I've been trying to compile the source using VS2010 with no luck so far.
We provide full source code for VS2010 with CPU and GPU support for 100 BTC. You have a loose scew me thinks.
|
|
|
|
cynic
Newbie
Offline
Activity: 9
Merit: 0
|
|
July 09, 2011, 09:38:18 PM |
|
I'm compiling from source for linux. I'm having an issue mining continuously as it seems once bitcoin-miner has connection difficulties it must be restarted by hand. using minerd I can get a few error messages that might be indicative of the issue. I'll post below the same thing i posted in the deepbit mining pool thread, Is it possible to get a newer release for the linux version? I don't seem to have this issue with ufasoft on windows. I'm unable to continuously mine with ufasoft cpu on linux, using minerd i can mine but at a much slower rate than is normal. It however exposes a few errors that show what the issue seems to be right now (for the last few days) with deepbit. I'll also post in the ufasoft thread to see if the miner can be improved. [2011-07-09 16:22:55] HTTP request failed: couldn't connect to host [2011-07-09 16:22:55] json_rpc_call failed, retry after 30 seconds [2011-07-09 16:26:34] HTTP request failed: couldn't connect to host [2011-07-09 16:26:34] json_rpc_call failed, retry after 30 seconds [2011-07-09 16:28:38] Long-polling activated for http://pit.deepbit.net:8332/listenChannel[2011-07-09 16:29:24] HTTP request failed: Recv failure: Connection reset by peer [2011-07-09 16:29:54] longpoll failed, sleeping for 30s [2011-07-09 16:29:57] HTTP request failed: Recv failure: Connection reset by peer I can mine for a little bit with ufasoft and then it goes to 0 when it hits a period of unavailability. Tycho, is this due to the varying DDoS on the website that is going on, or is there another issue. Prior to this start of the DDoS, my linux clients were the highest producing Mhash/sec and they are essentially reduced in effectiveness to 30%.
|
|
|
|
|
hot_fever
Newbie
Offline
Activity: 9
Merit: 0
|
|
July 13, 2011, 10:32:52 AM Last edit: July 14, 2011, 05:10:43 AM by hot_fever |
|
I get Error 80190191 on all cpu miners, too. Last night that worked fine - today all pcs get this error 80190191 means wrong username or password. It doesn't say whether the miner has it wrong or if Deepbit has it wrong. Check both of them The problem is in the communications library used by ufasoft. Instead of sending your login and password it tries to connect without authorization and provides credentials only after receiving error message/request from the pool. There was a workaround for this, but we had to disable it today. Currently Ufasoft Miner is disabled on deepbit.net, can you fix it?
|
|
|
|
epdp14
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 13, 2011, 12:30:09 PM |
|
I get Error 80190191 on all cpu miners, too. Last night that worked fine - today all pcs get this error 80190191 means wrong username or password. It doesn't say whether the miner has it wrong or if Deepbit has it wrong. Check both of them The problem is in the communications library used by ufasoft. Instead of sending your login and password it tries to connect without authorization and provides credentials only after receiving error message/request from the pool. There was a workaround for this, but we had to disable it today. Currently Ulasoft Miner is disabled on deepbit.net, can you fix it? +1
|
|
|
|
hi
|
|
July 13, 2011, 09:59:22 PM |
|
Hi
please fix so it can work on deepbit.net...thanks
Hi
|
|
|
|
Zenitur
|
|
July 13, 2011, 10:07:39 PM |
|
Is source code will be updated to 0.16?
|
|
|
|
|