Bitcoin Forum
May 14, 2024, 08:02:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 55 »
741  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: May 01, 2014, 02:30:37 AM
I have a dumb question what do I put in to output the log in cpuminer?


I have been reading through the thread here and I have a couple problems I cannot seem to solve with the blades.
It starts out at over 12 mh/s but after and hour or two goes all the way down to 3.8 and stays there.  This is on clevermining, LTCRabbit and ScryptGuild.
This is with two Blades using CPUMiner.  I am not sure what to do.

Here is my argument.
Quote
minerd.exe --freq=800 --gc3355=\\.\COM6,\\.\COM7,\\.\COM9,\\.\COM10 --gc3355-chips=40 --url=stratum+tcp://us.clevermining.com:3333 --userpass=1EV2wjbEkLyXBPzr7hTXyhNjsaNpyuTram:123

pause

I had tried with one Blade and autotune and got the same results.

I am not sure what I need to do to keep them running at full speed.

Any help would be appreciated.


Upload the full miner log (including debug output), maybe I can find something.
I haven't thoroughly tested on G-Blades, because I don't own one.

--log --debug, the log will be saved as cpuminer-gc3355.log. In the same directory as the executable.
742  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: May 01, 2014, 01:51:55 AM
I have been running for 10 +hrs with no issues on my 10 Gridseed (5 chip). Still have problems with the 40 chips  Blades so just curious if anyone is successfully running this new cpuminer with blades on windows 7 .

It appears that all 80 chips initially begin hashing , but after about 10 minutes 40 stop hashing. The other 40 may keep hashing for 30 minutes or so. CPUminer is still trying to send out work so the program is not locking up etc. I thought it may be a usb issue so I switched out the cables with the 5 chips to rule that out. Com port settings have FIFO disabled etc. I also tested this out with bfgminer-3-99-0-windows-clean and my blades seem to work fine with that so far, but I would rather use this cpuminer version.


I tried the most basic script to rule out as much as possible. Frequency can be anywhere from 600-900 with same result so not sure what my problem is

minerd-gc3355 --freq=600  --gc3355=\\.\COM11,\\.\COM12 --url=stratum+tcp://us-east.multipool.us:7777 --userpass=X.XXXX:x

Thanks
Quote
Upload the full miner log (including debug output), maybe I can find something.
I haven't thoroughly tested on G-Blades, because I don't own one.
743  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed Blade (80 Chip) Miner Support/Tuning on: May 01, 2014, 01:38:48 AM
Anyone using cpuminer? Care to post your results?
744  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 10:29:30 PM
The freezing problem seems to have something to do.with the autotune feature.  When enabled, it freezes every 2 hours or so everytime.  When I disable it, now it has been running fine for 12 hours.

That's because the the autotune features prints a line immediately after another, so it's more likely to deadlock (tui_lock).
Do you still experience freezing even with v0.9a? It should be a thing of the past now.

Looks like "--freq=950" overrides the "--gc3355-freq=\\.\COM42:700"
How could i set one device lower/higher than all the rest without typing each individually?

Edit: OK. I got it. I needed to write individual freq before the overall.

I'm pretty sure it's not the case. The most specific frequency is always applied.


Thanks for your reply Sandor.  One thing I have always wondered about is when I have multiple gridseeds, or any other ASIC for that matter, do the ASICS actually work together to solve the work that the pool gives, or is each ASIC on its own trying to solve the work.

The reason I ask is I used to run individual cpuminer instances per ASIC, with each ASIC connected with its own worker name to the pool.  With that method, each worker had a low difficulty appropriate for its hashrate.  My hashrate was pretty consistent around 14,500 KH.  Never went much below or.above that.

Now, using your cpuminer, I have 21 gridseeds under one worker name, and since the hashrate is high, the pool gives them high difficulty.  This results in my hashrate fluctuating anywhere from 9,500 KH to 17,000 KH.

If each gridseed is indeed operating on its own, I would think the difficulty would be too high for a 340kh device and would be discarding work because it cannot solve it in time before the work becomes stale.

Any insight into this would be much appreciated.

It's pretty technical, but in cpuminer-gc3355, the pool sends work to cpuminer (consists of coinbase, previous hash, merkle tree), cpuminer assembles the block header and adjusts a value called extranonce2, which can be changed freely. This results in a different merkle root hash, thus different 'work'. The work has to be generated for each Gridseed miner to prevent the miners from solving the same work.
The unique work data is sent to the Gridseed miner, where it will be divided between the 5 or 40 chips, this is done by changing the the starting and ending nonce value.

Pool difficulty does not matter long term I think, you'll just get more consistent results on low diff short term. The process of detecting new work and sending it to the Gridseed miner takes less than 1s, atleast on cpuminer. It's fine to discard old work, here is why: there are multiple solutions (nonces) to the work, the probability of finding a nonce with current work doesn't change during trying to solve it, it's not that it 'wasted' time trying to solve work when that work goes stale if you know what I mean.
Hope this helps. Smiley

Edit: Thanks Kergecoin.
745  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 10:01:08 PM
I have been reading through the thread here and I have a couple problems I cannot seem to solve with the blades.
It starts out at over 12 mh/s but after and hour or two goes all the way down to 3.8 and stays there.  This is on clevermining, LTCRabbit and ScryptGuild.
This is with two Blades using CPUMiner.  I am not sure what to do.

Here is my argument.
Quote
minerd.exe --freq=800 --gc3355=\\.\COM6,\\.\COM7,\\.\COM9,\\.\COM10 --gc3355-chips=40 --url=stratum+tcp://us.clevermining.com:3333 --userpass=1EV2wjbEkLyXBPzr7hTXyhNjsaNpyuTram:123

pause

I had tried with one Blade and autotune and got the same results.

I am not sure what I need to do to keep them running at full speed.

Any help would be appreciated.


Upload the full miner log (including debug output), maybe I can find something.
I haven't thoroughly tested on G-Blades, because I don't own one.
746  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 06:31:38 PM
The freezing problem seems to have something to do.with the autotune feature.  When enabled, it freezes every 2 hours or so everytime.  When I disable it, now it has been running fine for 12 hours.

That's because the the autotune features prints a line immediately after another, so it's more likely to deadlock (tui_lock).
Do you still experience freezing even with v0.9a? It should be a thing of the past now.

Looks like "--freq=950" overrides the "--gc3355-freq=\\.\COM42:700"
How could i set one device lower/higher than all the rest without typing each individually?

Edit: OK. I got it. I needed to write individual freq before the overall.

I'm pretty sure it's not the case. The most specific frequency is always applied.
747  Bitcoin / Mining support / Re: Installing cgminer and cpuminer with gridseed on ubuntu on: April 30, 2014, 03:25:39 PM
That did the trick, thank you! I was googling and saw that article as well!

This command fixed my problems -- sudo usermod -a -G dialout myusernamehere

One other question...

My devices are running at 850mhz, and they are hashing at some oddball #'s according to the overview, are these #s correct? Via CGMIner they all hash around 360k each

GSD 0 | 850 MHz | 105.8/ 71.6 KH/s | A: 1 R: 0 H: 0
 GSD 1 | 850 MHz | 105.8/ 71.7 KH/s | A: 1 R: 0 H: 0
 GSD 2 | 850 MHz | 317.5/ 71.9 KH/s | A: 3 R: 0 H: 0
 GSD 3 | 850 MHz | 423.4/143.5 KH/s | A: 4 R: 0 H: 0
 GSD 4 | 850 MHz | 211.7/143.8 KH/s | A: 2 R: 0 H: 0
 GSD 5 | 850 MHz | 529.2/215.7 KH/s | A: 4 R: 1 H: 0

I am planning on switching over 50 gridseeds and running them on ubuntu. My raspberri pi's are piss poor and unreliable. They have constant kernel crashes and the onlything I can do to get them going again is to power them down manually and reboot them.

Here is my current config:

screen -dmS miner ./minerd --gc3355=/dev/ttyACM0,/dev/ttyACM1,/dev/ttyACM2,/dev/ttyACM3,/dev/ttyACM4,/dev/ttyACM5 --gc3355-freq=/dev/ttyACM0:850 --freq=850 --url=stratum+tcp://useast.wafflepool.com:3333 --userpass=blah:blah --retries=1

I have 3 questions:

  • 1. Is this running in dual mode or single? (I hope single scrypt mode -- lol)
  • 2. Is it possible to run minerD with a config similar to cgminer (./cgminer -c miner.conf). I want to have multipools as failovers incase one goes down and its easier to run from a config file. I couldn't find any documentation on this at all.
  • 3. If I plan on runnijng 50 devices, do I need to list every device in the command line to launch? IE: --gc3355=/dev/ttyACM0,/dev/ttyACM1,/dev/ttyACM2,/dev/ttyACM3,/dev/ttyACM4,/dev/ttyACM5/etc/etc/etc to 50

Thanks for your help and I hope that this runs more stable than CGMiner, if it does some donations will be due to you. I lose about 8 hours of mine time every day  when I am away and cannot hard power my rasp pis.

Well you have to give it time to stabilize the hashrate, it calculates the hashrate from each individual chip, unlike cgminer.
Remove the --retries=1, that's for backup pools.
1. Scrypt mode only
2. Not yet, but soon, there is a basic backup pool script on github
3. Yes
748  Bitcoin / Mining support / Re: Installing cgminer and cpuminer with gridseed on ubuntu on: April 30, 2014, 02:22:10 PM
Sorry to jump in your thread..

I am having an issue with CPUminer myself on Ubuntu. I cannot get any of my miners to mine and I am getting an error that I don't have user privlidges to open /dev/xxx... Any ideas how to fix this?

 [2014-04-30 10:15:37] 4: Do not have user privileges to open /dev/ttyACM4
 [2014-04-30 10:15:37] 4: Terminating GC3355 chip mining thread
 [2014-04-30 10:15:37] 5: GC3355 chip mining thread started, in SINGLE mode
 [2014-04-30 10:15:37] 5: open device /dev/ttyACM5
 [2014-04-30 10:15:37] 5: Do not have user privileges to open /dev/ttyACM5
 [2014-04-30 10:15:37] 5: Terminating GC3355 chip mining thread


Looks like the user permissions on serial ports are off.
Look here : http://askubuntu.com/questions/58119/changing-permissions-on-serial-port
749  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 01:38:27 PM
It's a work in progress, people shouldn't expect perfection with every release. 

Unless you are called Wolfey2014. Roll Eyes
750  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 01:11:35 PM
Just updated to the new binaries. Working great for me.

Same here...awesome work Sandor.  Not sure why it's "freezing" or "locking up" for some people, I've never had the problem, but I don't have a lot of gridseeds either.  Maybe it's a memory allocation issue with enabling autotune for all those gridseeds?  I'm not sure if you're using hashtables, arrays, or dictionaries to record and keep track of autotune info but maybe people with a lot of gridseeds are hitting a limitation within the method?  

If someone wants to send me 100 or more gridseeds to "test" I have 32GB ram in my system to test the theory   Grin

It's none of that. The curses TUI isn't thread safe, so I have to use pthread_mutex to keep stuff synchronized between threads. My shitty coding lead to some deadlocks I think, where one thread was waiting forever for a lock to release. I have no idea about the top stat on Windows though, the same code works perfectly fine on any Unix system I tested (Rpi, Ubuntu, OpenWrt) which are using ncurses lib, so I guess it's a bug in the pdcurses lib which Windows uses (specifically printw/wprintw).
751  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 12:52:37 PM
New windows version is still broken. Only lists 0-29 devices and overall output numbers still showing 0 or - .

I wish you'd tell me earlier about it only listing 30 miners, now I have to recompile again :|
Edit: Fixed + added miner version.
752  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 12:44:57 PM
New windows version is still broken. Only lists 0-29 devices and overall output numbers still showing 0 or - .

Sorry, some issues with Dropbox not updating the files, try re-downloading please.
753  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 12:17:27 PM
Try now, Dropbox behaving strangely.


is there an easy way to write out the autotune result to use it the next start?
For now, the best way is to turn on logging (--log), and CTRL+F "0@0: autotune stopped", "0@1: autotune stopped", ... Pretty tedious if you have lots of miners or G-Blades.
I'm going add a config generator to the autotune feature.
754  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 11:26:16 AM
Important! You MUST update to the latest binaries (Download on Github)

Have fixed the top stat on Windows (weird bug), and I think lock ups are fixed now too. I have been testing on Rpi and Windows for 6 hours now.
755  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 30, 2014, 12:40:09 AM
No idea why the top stat is bugged in Windows, seems to be some sort of memory corruption or bug in the library, the function that's causing it is "wprintw".
I'll have look in Valgrind.
756  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 29, 2014, 11:09:00 PM
Important! You MUST update to the latest binaries (Download on Github)

In this update the TUI code is rewritten, it accepts any window size and if the window isn't large enough, you can scroll through the stats using the UP/DOWN keys.
Fixed the biggest bug yet related to crashes/stuck/flooding of HW errors, it's really critical to update now!



This is working great for me on a raspi. I just ordered 2 more gridseeds...

Would the syntax for my new script have this in it:

Code:
--gc3355=/dev/ttyACM0,/dev/ttyACM1,/dev/ttyACM2

I'm just a little confused because in the readme you mention ttyACM1 and ACM2 being blades - but I'm not sure if I have to tell cpuminer whether the hardware is a blade or a mini. If I understand the documentation correctly it auto-detects the number of chippys.

Anyway - great work, thanks for the help. Expect a tip.



G-Blades are 2 boards, so 2 ttyACMx. No need to tell it, it detects which is which based on the firmware version thats on the MCU chip. Smiley
757  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 29, 2014, 07:07:47 PM
There is a major bug (typo) in the current build that is affecting mining and HW errors, I will provide a fix ASAP.
758  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 29, 2014, 04:49:58 PM
My 5 Chip gridseeds run for hours without any issues and with TUI enabled, but my blades have a lot of issues. For some reason they just stop hashing on this version after 30 minutes or so even with the TUI disabled. They worked fine on your previous version (cpuminer-GC3355-win32-sandor111) so not sure what I am doing wrong. I just have 2 separate bat files for the 5 chip and blades.

This is for the blades I tried it with auto tune enabled/disabled with no difference. I lowered the Frequency from 838 to 825 to 800 and does not seem to be related to the freq setting.

:loop
minerd-gc3355 --freq=825 --gc3355=\\.\COM17,\\.\COM18 --url=stratum+tcp://us-east2.multipool.us:7777 --userpass=XXXX.XXXX:X --retries=1
minerd-gc3355 --freq=825 --gc3355=\\.\COM17,\\.\COM18  --url=stratum+tcp://us-west2.multipool.us:7777 --userpass=XXXX.XXXX:X --retries=1
minerd-gc3355 --freq=825 --gc3355=\\.\COM17,\\.\COM18 --url=stratum+tcp://eu2.multipool.us:7777 --userpass=XXXX.XXXX:X --retries=1
goto loop
pause

What happens is I see cpuminer still dispatching work , but no response from the blades anymore.

Thanks

A full miner log would help here.
759  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 29, 2014, 12:22:03 PM
Have fixed the freeze/stuck when the TUI is enabled (atleast I hope so), Win/Rpi binaries have been updated. Also fixed the compiling issue some of you had with the curses libs.

Testing, but still not getting more data  printed than the screenshot above. Should be enabled by default?

I have found the issue, it's when the terminal screen isn't large enough to display the stats/logs, hence that part isn't 'drawn' by curses. I will provide a fix that will automatically resize the terminal in case it's too small.
760  Alternate cryptocurrencies / Mining (Altcoins) / Re: [GUIDE] GridSeed 5-Chip USB & Blade Miner Support/Tuning on: April 29, 2014, 08:39:55 AM
I've found some strange thing about auto-tune. I'm running the binary that built @ 26/4, will test the latest binary later and see if the same things happens. Let's take a look at the log:

[2014-04-29 08:19:31.024] 0@0 900MHz: Got nonce 4d582300, Invalid nonce! (1) (0x6074f142)
[2014-04-29 08:19:31.030] 0@0: 3596 steps until frequency adjusts to 875MHz
[2014-04-29 08:19:35.698] 0@1 875MHz: Got nonce 1eda5a33, Hash <= Htarget! (0x6074f142)
[2014-04-29 08:19:35.699] 0@1: 691 steps until step counter restarts
[2014-04-29 08:19:35.898] 0@1: accepted 4441/4461 (99.55%) 74.2/367.9/367.9 (Pool: 369.5) KH/s
[2014-04-29 08:19:38.873] 0@1 875MHz: Got nonce 5b725e33, Hash <= Htarget! (0x6074f142)
[2014-04-29 08:19:38.874] 0@1: 608 steps until step counter restarts
[2014-04-29 08:19:39.074] 0@1: accepted 4442/4462 (99.55%) 74.2/367.9/367.9 (Pool: 369.5) KH/s
[2014-04-29 08:19:42.882] 0@2 900MHz: Got nonce 158c9766, Hash <= Htarget! (0x6074f142)
[2014-04-29 08:19:42.883] 0@2: 276 steps until step counter restarts
[2014-04-29 08:19:43.081] 0@2: accepted 4443/4463 (99.55%) 75.7/367.9/367.9 (Pool: 369.6) KH/s
[2014-04-29 08:19:55.617] 0@2 900MHz: Got nonce 9260a666, Hash <= Htarget! (0x6074f142)
[2014-04-29 08:19:55.618] 0@2: 193 steps until step counter restarts
[2014-04-29 08:19:55.816] 0@2: accepted 4444/4464 (99.55%) 75.7/368.0/368.0 (Pool: 369.6) KH/s
[2014-04-29 08:20:0.446] New job_id: 38d2 Diff: 83
[2014-04-29 08:20:0.447] Dispatching new work to GC3355 threads (0x60b0d1af)
[2014-04-29 08:20:11.092] 0@0 900MHz: Got nonce e6200c00, Hash <= Htarget! (0x60b0d1af)
[2014-04-29 08:20:11.099] 0@0: 3513 steps until frequency adjusts to 875MHz

Core 0 Got an HW error in 900Mhz. However if looking at the bottom of the log, it's still running @ 900Mhz and counting down steps before backing down the frequency to 875Mhz. I wonder if too many HW error occurs will the next frequency decrease unrealistically instead of just backing down a step? Any idea guys?

It's hardcoded that if there are 3 HW errors, it will decrease the frequency by 25 MHz and restart the counter. Any time the frequency decreases, that's the new limit and the frequency can't be set past that during autotune.
Btw I would suggest using the latest binary, it has a bugfix regarding autotune.
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 55 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!