Bitcoin Forum
April 16, 2024, 12:34:04 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: New Miner... possible functionality  (Read 17860 times)
supa
Copper Member
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
June 04, 2011, 10:39:53 PM
 #21

A built in nice would be nice (badumtish!) for both CPU and GPU.  nice as in scheduling - I want this thread at 40% and this thread at 60% sort of thing.  For both multi-pool participation as well as for non-dedicated miners and/or power peaks.  Another example: if I pay more power during the day, I would like to run at 25% during the day at 100% at night.

The time/date scheduling can be done manually by the user, but the process scheduling would have to be a core part of the application.

Summarized output is what bugs me on a lot of miners.  There's a request somewhere for a poclbm mod.  Almost every miner will just spam the screen with "accepted", "stale", "MHs", blah blah blah.  It would be nice to silence all of that and get a -
[CPU Thread 0 - 2.3MHs, 25% priority, 300 accepted, 25 stale, user: supa, pool: us.eligius.st]
[GPU Thread 0 - 300MHs, 100% priority, 15000 accepted, 100 stale, user: supa, pool: eu.eligius.st]

Summary on keypress or at some update interval (3 minutes?).

Finally, and this is just my personal preference and easy to script if no one else wants it, I would like a simple HTTP interface of stats.  You could quite literally just accept connections on some port (2890?) and send "<html><head>Miner</head><body>300 MHs</body></html>"

If you're using Java, maybe future Tomcat integration?



1713270844
Hero Member
*
Offline Offline

Posts: 1713270844

View Profile Personal Message (Offline)

Ignore
1713270844
Reply with quote  #2

1713270844
Report to moderator
1713270844
Hero Member
*
Offline Offline

Posts: 1713270844

View Profile Personal Message (Offline)

Ignore
1713270844
Reply with quote  #2

1713270844
Report to moderator
1713270844
Hero Member
*
Offline Offline

Posts: 1713270844

View Profile Personal Message (Offline)

Ignore
1713270844
Reply with quote  #2

1713270844
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713270844
Hero Member
*
Offline Offline

Posts: 1713270844

View Profile Personal Message (Offline)

Ignore
1713270844
Reply with quote  #2

1713270844
Report to moderator
1713270844
Hero Member
*
Offline Offline

Posts: 1713270844

View Profile Personal Message (Offline)

Ignore
1713270844
Reply with quote  #2

1713270844
Report to moderator
NetTecture
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 04, 2011, 11:19:47 PM
 #22

Professional management Wink

Being windows based this would mean:

* Installation via MSI, so I can push it out to machines.
* Windows Service, so it does not require me to start.
* WMI based control, events in event log, statistics via profiler.

Basically a miner I can install and run on a computer that i dont sit in front of with windows without going to hacks like VNC Wink
LegitBit
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
June 05, 2011, 01:15:56 AM
 #23

Usage settings would definitely be nice, similar to GUIminer's -s tag. That way you can still use the card while mining at a lower rate.

Also I am willing to test if you feel like kicking it my way. I've got Win 7 64 and a 32 bit station at my disposal with 5830's and a 5770.

Donate : 1EiAKUmTVtqXsaGLKQQVvLT9DDnHsT7jTZ (Block Explorer)
supa
Copper Member
Newbie
*
Offline Offline

Activity: 56
Merit: 0


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

Usage settings would definitely be nice, similar to GUIminer's -s tag. That way you can still use the card while mining at a lower rate.

Ah, thanks, I couldn't quite find the words to put it as eloquently as you did.  All I could think of was "scheduling."

Something else that came up in another thread - on exit (signal, ctrl-C, etc) could you implement a "soft shutdown" that guarantees any pending blocks are reported ASAP?  I'm not sure how feasible that is for portability or if it would even be helpful, but.... it's worth a mention.
johncarl (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 05, 2011, 03:49:22 AM
 #25

Great input guys, Im really encouraged by these suggestions.

Honestly, my inital beta will not include a majority of these suggestions, but I certainly want to put some of them into future stages.. and possibly leverage you guys to help.

Thumbs up for your effort in proving your innocense! And for not having me waste my time on decompiling more shit Tongue

Props for identifying that malicious code and outing that guy

Something else that came up in another thread - on exit (signal, ctrl-C, etc) could you implement a "soft shutdown" that guarantees any pending blocks are reported ASAP?  I'm not sure how feasible that is for portability or if it would even be helpful, but.... it's worth a mention.

Really good idea... I think I may be able to add that for the beta.
PcChip
Sr. Member
****
Offline Offline

Activity: 418
Merit: 250


View Profile
June 05, 2011, 06:46:34 AM
 #26

So will you be able to get decent efficiency by using Java?  I suppose it won't hurt the OpenCL Performance, but trying to do a CPU miner would be a waste of time (unless you can just call ufasoft's miner from your program)

Also - to the person requesting lower performance for non-dedicated machines (for using windows, and/or playing games), simply run a lower aggression (3 for 48xx series cards, 4 for 58xx series cards) and you can play DirectX Games in the background with minimal interruption.  I believe the CUDA miner has a similar flag (-f 60 maybe?)

Legacy signature from 2011: 
All rates with Phoenix 1.50 / PhatK
5850 - 400 MH/s  |  5850 - 355 MH/s | 5830 - 310 MH/s  |  GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
johncarl (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 06, 2011, 03:23:34 AM
 #27

So will you be able to get decent efficiency by using Java?  I suppose it won't hurt the OpenCL Performance, but trying to do a CPU miner would be a waste of time (unless you can just call ufasoft's miner from your program)

Yes, performance is decent.  There already is a java Miner out there called Diablo if you want to see for yourself.

Even the fastest CPU miners would not hold a candle to a gpu miner, and are arguably a waste of energy, so the one I am including is just a proof of concept.
LegitBit
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
June 06, 2011, 05:08:10 AM
 #28

Also - to the person requesting lower performance for non-dedicated machines (for using windows, and/or playing games), simply run a lower aggression (3 for 48xx series cards, 4 for 58xx series cards) and you can play DirectX Games in the background with minimal interruption.  I believe the CUDA miner has a similar flag (-f 60 maybe?)

That often still causes crashes. The -s tag-like funtion also serves to lower temperatures as well.

Donate : 1EiAKUmTVtqXsaGLKQQVvLT9DDnHsT7jTZ (Block Explorer)
johncarl (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 08, 2011, 06:06:24 PM
 #29

Ive posted my code on github:

https://github.com/johncarl81/MeteorMiner

I will post the binary artifact soon, possibly on sourceforge to distribute for the beta.

If you feel adventurous and want to build from source, go right ahead.  Please PM me with questions / issues.
johncarl (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 10, 2011, 04:12:55 PM
 #30

I sent out messages to the people who have volunteered.  Please let me know if you have any trouble getting to the binary or source and if you have any questions.

Thanks again for your help.
innervisi0nn
Member
**
Offline Offline

Activity: 98
Merit: 10


Tutorials, guidelines, optimizations for all!


View Profile
June 10, 2011, 04:16:54 PM
 #31

I sent out messages to the people who have volunteered.  Please let me know if you have any trouble getting to the binary or source and if you have any questions.

Thanks again for your help.

I'd love to beta test with 1800 megahash/s send it my way!

m3ta
Sr. Member
****
Offline Offline

Activity: 435
Merit: 250



View Profile WWW
June 30, 2011, 02:45:15 AM
 #32

Ive posted my code on github:

https://github.com/johncarl81/MeteorMiner

I will post the binary artifact soon, possibly on sourceforge to distribute for the beta.

If you feel adventurous and want to build from source, go right ahead.  Please PM me with questions / issues.

That's a 404, Houston.
Project dead already? That was fast.

Why the frell so many retards spell "ect" as an abbreviation of "Et Cetera"? "ETC", DAMMIT! http://en.wikipedia.org/wiki/Et_cetera

Host:/# rm -rf /var/forum/trolls
fascistmuffin
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
June 30, 2011, 02:53:16 AM
 #33

Would java even be a good language for a miner since it's an interpreted one (basically executing everything twice)? Would this cause lower hash rates since code will be ran inefficiently?

Note: I hate java and may be a little biased against it. C# for life.
johncarl (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 30, 2011, 03:27:03 AM
 #34


That's a 404, Houston.
Project dead already? That was fast.


Sorry guys, took my code down for a variety of reasons but I am considering re-posting it.

Would java even be a good language for a miner since it's an interpreted one (basically executing everything twice)? Would this cause lower hash rates since code will be ran inefficiently?

Note: I hate java and may be a little biased against it. C# for life.

Yeah, its a fine solution in this spot.  Check out the Diablo miner if you don't believe it.  Java 4-ever http://www.youtube.com/watch?v=vL1riGEwkFo

If you think the C# scene is being underrepresented here, why don't you create your own C# miner?
CanaryInTheMine
Donator
Legendary
*
Offline Offline

Activity: 2352
Merit: 1060


between a rock and a block!


View Profile
June 30, 2011, 04:13:40 AM
 #35

Count me in for beta testing!
Pages: « 1 [2]  All
  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!