Wednesday, January 17, 2018

OpenWRT /usr/lib/lua/luci/dispatcher.lua:582: bad argument #1 to 'pairs'

/usr/lib/lua/luci/dispatcher.lua:582: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
        [C]: in function 'pairs'
        /usr/lib/lua/luci/dispatcher.lua:582: in function 'createtree'
        /usr/lib/lua/luci/dispatcher.lua:230: in function 'dispatch'
        /usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>





Solution:

Login through ssh

rm -r /tmp/luci-indexcache

Saturday, January 13, 2018

Sapphire RX580 Nitro+ ETH Mining @31mh

 Sapphire RX580 Nitro+ ETH Mining @31mh

1. Mod RX580 BIOS rom to v1.rom
(Using ATIFLASH, Original Driver)

2. Uninstall Any Old Driver using DDU
3. Update ATI Driver to mining version
4.  Create clay.bay
EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal ETHEREUM_WALLET.WORKER_NAME -epsw x -dpool stratum+tcp://sia-eu1.nanopool.org:7777 -dwal SIA_WALLET.WORKER_NAME -dcoin sia -tstop 85 -tt 65 -fanmin 75 -fanmax 100 -cclock 1200 -mclock 2250 -cvddc 850 -mvddc 850 -dcri 18


1 of 6 gpu hang frequently
1 of 6 gpu keep frequently hang after run for 30 minutes which required restart by watchdog, so I underclock by decreast mclock to 2100 

EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal ETHEREUM_WALLET.WORKER_NAME -epsw x -dpool stratum+tcp://sia-eu1.nanopool.org:7777 -dwal SIA_WALLET.WORKER_NAME -dcoin sia -tstop 85 -tt 65 -fanmin 75 -fanmax 100 -cclock 1200 -mclock 2250,2100,2250,2250,2250,2250 -cvddc 850 -mvddc 850 -dcri 18


6 cards run below 900w (around 820w)


Update 20180203
It is quite unstable using the setting, so I downgrade all cclock to 1100, it decrease the Mining rate to 30mhs, but it is much more stable than max speed and I mine continuously for over 10 days.


EthDcrMiner64.exe -epool eu1.ethermine.org:4444 -ewal ETHEREUM_WALLET.WORKER_NAME -epsw x -dpool stratum+tcp://sia-eu1.nanopool.org:7777 -dwal SIA_WALLET.WORKER_NAME -dcoin sia -tstop 85 -tt 65 -fanmin 75 -fanmax 100 -cclock 1100 -mclock 2250,2100,2250,2250,2250,2250 -cvddc 850 -mvddc 850 -dcri 18

Thursday, January 11, 2018

sysbench result: Eeebox B202 Atom N270

Instruction : https://www.howtoforge.com/how-to-benchmark-your-system-cpu-file-io-mysql-with-sysbench

CPU Test


1 Thread
sudo sysbench --test=cpu --cpu-max-prime=20000 run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          190.2316s
    total number of events:              10000
    total time taken by event execution: 190.2139
    per-request statistics:
         min:                                 18.83ms
         avg:                                 19.02ms
         max:                                 30.35ms
         approx.  95 percentile:              19.06ms

Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   190.2139/0.00



4 Thread
sudo sysbench --num-threads=4 --test=cpu --cpu-max-prime=20000 --validate run
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4
Additional request validation enabled.


Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          126.3571s
    total number of events:              10000
    total time taken by event execution: 505.3316
    per-request statistics:
         min:                                 23.36ms
         avg:                                 50.53ms
         max:                                149.99ms
         approx.  95 percentile:              69.97ms

Threads fairness:
    events (avg/stddev):           2500.0000/17.94
    execution time (avg/stddev):   126.3329/0.02