最爱你是谁
Newbie
Offline
Activity: 24
Merit: 0
|
|
July 24, 2011, 08:10:06 AM |
|
|
|
|
|
ufasoft (OP)
|
|
July 24, 2011, 08:15:50 AM |
|
Kaspersky 5.5.10 2011.07.24 2011-07-24 not-a-virus:RiskTool.Win32.BitCoinMiner.ac I'm afraid the miner will be classified as a virus for a long time, because many viruses will use it.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
最爱你是谁
Newbie
Offline
Activity: 24
Merit: 0
|
|
July 24, 2011, 09:18:35 AM |
|
Kaspersky 5.5.10 2011.07.24 2011-07-24 not-a-virus:RiskTool.Win32.BitCoinMiner.ac I'm afraid the miner will be classified as a virus for a long time, because many viruses will use it. o
|
|
|
|
Paul4games
Newbie
Offline
Activity: 46
Merit: 0
|
|
July 24, 2011, 09:30:56 AM |
|
Ufasofft i was wondering if you could make an build that uses only half of the power that computer has, like if it has 2 CPS to use just 1 or so? I would like this low build because it will allow you're computer to do other things when you are using the miner whitout any lag or so.
|
|
|
|
bamboe32
Newbie
Offline
Activity: 17
Merit: 0
|
|
July 24, 2011, 12:07:56 PM |
|
Ufasoft: can you give out the latest sources, so we can compile under Linux
|
|
|
|
ufasoft (OP)
|
|
July 24, 2011, 03:14:22 PM |
|
Ufasoft: can you give out the latest sources, so we can compile under Linux
Latest Linux sources are not ready yet.
|
Bitcoin donations: 18X598V8rVdjy3Yg1cjZmnnv4SpPthuBeT
|
|
|
bitlane
Internet detective
Sr. Member
Offline
Activity: 462
Merit: 250
I heart thebaron
|
|
July 24, 2011, 09:41:43 PM |
|
Ufasofft i was wondering if you could make an build that uses only half of the power that computer has, like if it has 2 CPS to use just 1 or so? I would like this low build because it will allow you're computer to do other things when you are using the miner whitout any lag or so.
You can already do this using CPU AFFINITY if you are using Guiminer as a front end.
|
|
|
|
Paul4games
Newbie
Offline
Activity: 46
Merit: 0
|
|
July 24, 2011, 10:33:42 PM |
|
Ufasofft i was wondering if you could make an build that uses only half of the power that computer has, like if it has 2 CPS to use just 1 or so? I would like this low build because it will allow you're computer to do other things when you are using the miner whitout any lag or so.
You can already do this using CPU AFFINITY if you are using Guiminer as a front end. I am using guiminer as frontend but it doesn't matter if i select only 1 cpu afinitty, it still uses all the power of the proccesor and is still mining at the same rate like i am mining with all the cpus....
|
|
|
|
dikidera
|
|
July 24, 2011, 10:49:13 PM |
|
Ufasofft i was wondering if you could make an build that uses only half of the power that computer has, like if it has 2 CPS to use just 1 or so? I would like this low build because it will allow you're computer to do other things when you are using the miner whitout any lag or so.
You can already do this using CPU AFFINITY if you are using Guiminer as a front end. I am using guiminer as frontend but it doesn't matter if i select only 1 cpu afinitty, it still uses all the power of the proccesor and is still mining at the same rate like i am mining with all the cpus.... That's why the -t switch was invented. -t 1-X number of threads, which means cores. By default, it uses all. Specify this in the arguments, say -t 1 and it will use one core. Consider donating if you found this useful : 16kFZCjtaQELi4Zipf6RcBM8VBQ5tNavnU
|
|
|
|
Paul4games
Newbie
Offline
Activity: 46
Merit: 0
|
|
July 25, 2011, 04:06:49 PM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
|
|
|
|
dikidera
|
|
July 25, 2011, 11:06:32 PM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it.
|
|
|
|
Paul4games
Newbie
Offline
Activity: 46
Merit: 0
|
|
July 26, 2011, 09:40:10 AM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it. I have already set the affinity from the guiminer.
|
|
|
|
Zenitur
|
|
July 26, 2011, 11:14:14 AM |
|
New error: kanotix@Kanotix:~/ufasoft_bitcoin-miner-0.10$ ./bitcoin-miner terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Aborted kanotix@Kanotix:~/ufasoft_bitcoin-miner-0.10$ LC_ALL=C ./bitcoin-miner bitcoin-miner 0.10 Copyright (c) 2011 Ufasoft http://ufasoft.com/open/bitcoin Usage: bitcoin-miner [-a seconds] [-g yes|no] [-t threads] [-v] [-o url] [-x proxy] -u user -p password Options: -a <seconds> time between getwork requests 1..60, default 15 -g yes|no set 'no' to disable GPU, default 'yes' -h this help -o url in form http://server.tld:port/path, by default http://127.0.0.1:8332 -t <threads> Number of threads for CPU mining, by default is number of CPUs (Cores), 0 - disable CPU mining -v Verbose output -x type=host:port Use HTTP or SOCKS proxy. Examples: -x http=127.0.0.1:3128, -x socks=127.0.0.1:1080
kanotix@Kanotix:~/ufasoft_bitcoin-miner-0.10$ http://www.google.ru/search?sourceid=chrome&ie=UTF-8&q=locale%3A%3Afacet%3A%3A_S_create_c_locale+name+not+valid
|
|
|
|
dikidera
|
|
July 26, 2011, 11:56:39 AM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it. I have already set the affinity from the guiminer. There's a slight possibility it's not working via guiminer. Do it via Task Manager. Also, how many cores do you have?
|
|
|
|
|
Paul4games
Newbie
Offline
Activity: 46
Merit: 0
|
|
July 27, 2011, 09:32:35 AM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it. I have already set the affinity from the guiminer. There's a slight possibility it's not working via guiminer. Do it via Task Manager. Also, how many cores do you have? Only 2 cores.
|
|
|
|
dikidera
|
|
July 27, 2011, 03:16:57 PM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power....
After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it. I have already set the affinity from the guiminer. There's a slight possibility it's not working via guiminer. Do it via Task Manager. Also, how many cores do you have? Only 2 cores. Then what did you expect? I have a quad core, so if i use one thread that's only 25% of my CPU. For you, it will be 50%. Basically, that is why you have the so called "high cpu usage"
|
|
|
|
The00Dustin
|
|
July 27, 2011, 04:48:38 PM |
|
Yes i know, it is mining at half of the speed but it still uses 90% of the cpu power.... After you have specified the number of threads, set(if possible use task manager) the cpu affinity to be at core X or whichever you choose. And that's basically it. I have already set the affinity from the guiminer. There's a slight possibility it's not working via guiminer. Do it via Task Manager. Also, how many cores do you have? Only 2 cores. Then what did you expect? I have a quad core, so if i use one thread that's only 25% of my CPU. For you, it will be 50%. Basically, that is why you have the so called "high cpu usage" Maybe he expects 50%. That's what I get on my dual-core systems with one thread, and that is what he should be getting based on your post. The 90% that he is getting is significantly higher than 50% I hope someone congratulates me on making a pot as useful as yours...
|
|
|
|
bitlane
Internet detective
Sr. Member
Offline
Activity: 462
Merit: 250
I heart thebaron
|
|
July 27, 2011, 08:29:56 PM |
|
Ufasofft i was wondering if you could make an build that uses only half of the power that computer has, like if it has 2 CPS to use just 1 or so? I would like this low build because it will allow you're computer to do other things when you are using the miner whitout any lag or so.
You can already do this using CPU AFFINITY if you are using Guiminer as a front end. Looks like I was wrong, although not entirely. On my Core2Duo/Quad systems, I need to use the -t flag. On my Core i7 systems, I can use the Guiminer CPU affinity to set the number of threads in real time, without the need for a stop/start. On my Dual Xeon X5500 (i7 platform/LGA1366 Dual), I can watch each of it's 16 threads come to life or die when switched either on or off using Guiminer's affinity checkboxes.....same with my i7 920 8 thread systems. I have nothing AMD-CPU-based to test......
|
|
|
|
d3m0n1q_733rz
|
|
July 28, 2011, 10:47:02 PM |
|
Just a random thought, but might you be willing to add further SSE optimizations such as SSE3, SSSE3, SSE4.1, SSE4a ect. which can be enabled based upon the detected CPU? I've seen modest improvements enabling some of these through assembly based on your code and was thinking you might like to try them out and see what happens. Most notably, the use of non-temporal moves from memory to cache increased the hash rate by about .5 that I recall. I'm not certain if SSE3 optimizations will be helpful though since they mainly focus on horizontal math, though some of the bit rotations could possibly be translated to addition problems to take place simultaneously if the rotations are small. Say, for example, that you have a rotation of 3 to take place for 4 numbers; by using horizontal math, you can take those 4 instructions and shrink it down to 3. Now, I don't know the cost of doing so, but the compiler will determine that.
Just a thought.
|
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
|
|
|
|