Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: manifest on April 06, 2011, 08:44:30 AM



Title: Explaining flags
Post by: manifest on April 06, 2011, 08:44:30 AM
New miner here, starting at Bitcoin Pool with a Q9550 and a 9800GT.

Could someone explain to me what do the different "flags" do, like -d, -v and especially -w since it seems important for the efficiency? Or if someone could just post good settings for this certain setup :P.


Title: Re: Explaining flags
Post by: compro01 on April 07, 2011, 05:38:58 PM
New miner here, starting at Bitcoin Pool with a Q9550 and a 9800GT.

Could someone explain to me what do the different "flags" do, like -d, -v and especially -w since it seems important for the efficiency? Or if someone could just post good settings for this certain setup :P.

i presume you're wanting to know abut poclbm flags, so here you go.

-v or --vectors sets it to use vector calculations.  in general, this is only a good idea for newer ATI/AMD graphics and gives you a fair speed up.  it slows things down on nvidia cards.

-w or --worksize controls the work group size.  it defaults to the maximum value reported by the card and going above that will likely result in the miner crashing.  there's no real hard and set rule for this and it varies from card to card, so find someone with your same card and ask, look at the mining hardware comparison for inspiration, or just poke in various values and look what happens to the hash rate.

-d or --device chooses what device to use.  this is only needed if you have multiple graphics cards

-f or --frames controls the execution window.  basically, this is the priority settings and higher number=lower priority.  setting it very low (1 or 0) will give you a bit faster hash rate at the cost of slowing your desktop to a crawl, which is fine if you're leaving it unattended for a long time.  setting it to a large value (hundreds to thousands) may allow you to even play games while mining in the background, depending on your hardware.

-a or --askrate controls how often the miner sends a getwork request.  you should use whatever value your pool suggests or just leave it at the default if solo mining

-p or --platform controls what platform is used.  only useful if using multiple graphics cards from different manufacturers (nvidia vs. ati/amd) or if you're using the GPU miner on your CPU (which is a bad idea, as it's much slower than a proper CPU miner and CPU mining is at best barely worth it)

-r or --rate controls how often it updates the displayed hash rate.  default is once per second.  setting this lower (more frequent updates) may be useful if you're tweaking other settings (like -w) to get the best hash rate.  setting it to higher will reduce overhead a little bit and might gain you a few more hashes per second.


Title: Re: Explaining flags
Post by: SmokeTooMuch on April 07, 2011, 08:24:35 PM
-a or --askrate controls how often the miner sends a getwork request.  you should use whatever value your pool suggests or just leave it at the default if solo mining
What is the best -a setting for slush's pool ?


Title: Re: Explaining flags
Post by: compro01 on April 08, 2011, 06:42:04 AM
-a or --askrate controls how often the miner sends a getwork request.  you should use whatever value your pool suggests or just leave it at the default if solo mining
What is the best -a setting for slush's pool ?

just leave it at the default (5 seconds, BTW)


Title: Re: Explaining flags
Post by: kuba651 on June 03, 2011, 08:19:38 PM
Guys , Can someone tell me the right flag for reducing my cpu and gpu to use only 70% of its cabality ? i think my rig will overheat if i let it running on 100% im using ATI Radeon 4870 and   athlon II x4 635


Title: Re: Explaining flags
Post by: compro01 on June 03, 2011, 11:08:24 PM
Guys , Can someone tell me the right flag for reducing my cpu and gpu to use only 70% of its cabality ? i think my rig will overheat if i let it running on 100% im using ATI Radeon 4870 and   athlon II x4 635

use the -s flag.  not sure what value will give you 70% utilization though.  try 60 to start with and play with it (larger number=lower utilization) to get it where you want.


Title: Re: Explaining flags
Post by: GermDMinr325755 on June 09, 2011, 01:15:15 AM
-v speeds up each GPU of my GTX590 about 7Mh/s