Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PalginNeoscryptMiner #130

Closed
nobitacu opened this issue Dec 29, 2017 · 7 comments
Closed

PalginNeoscryptMiner #130

nobitacu opened this issue Dec 29, 2017 · 7 comments

Comments

@nobitacu
Copy link

Got this error at the end of its benchmarking... which then it does not switch to the next miner as it tries to in the end:

Get-Content : Cannot find path 'C:\NemosMiner-v2.3-2.3.1-Palgin\Wrapper_23333.txt' because it does not exist.
At C:\NemosMiner-v2.3-2.3.1-Palgin\Include.ps1:404 char:33

  •                 $HashRate = Get-Content ".\Wrapper_$Port.txt"
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\NemosMiner-v...apper_23333.txt:String) [Get-Content],
      ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
      Get-Content : Cannot find path 'C:\NemosMiner-v2.3-2.3.1-Palgin\Wrapper_23333.txt'
      because it does not exist.
      At C:\NemosMiner-v2.3-2.3.1-Palgin\Include.ps1:404 char:33
  •                 $HashRate = Get-Content ".\Wrapper_$Port.txt"
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\NemosMiner-v...apper_23333.txt:St
      ring) [Get-Content], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContent
      Command

Get-Content : Cannot find path 'C:\NemosMiner-v2.3-2.3.1-Palgin\Wrapper_23333.txt' because it does not exist.
At C:\NemosMiner-v2.3-2.3.1-Palgin\Include.ps1:406 char:82

  • ... Start-Sleep $Interval; $HashRate = Get-Content ".\Wrapper_$Port.txt"}
  •                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\NemosMiner-v...apper_23333.txt:String) [Get-Content],
      ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand
      Get-Content : Cannot find path 'C:\NemosMiner-v2.3-2.3.1-Palgin\Wrapper_23333.txt'
      because it does not exist.
      At C:\NemosMiner-v2.3-2.3.1-Palgin\Include.ps1:406 char:82
  • ... Start-Sleep $Interval; $HashRate = Get-Content ".\Wrapper_$Port.txt"}
  •                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (C:\NemosMiner-v...apper_23333.txt:St
      ring) [Get-Content], ItemNotFoundException
    • FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContent
      Command

Loading BTC rate from 'api.coinbase.com'..
Loading pool stats..
Loading miners..

@nemosminer nemosminer changed the title PalginNvidia.txt PalginNeoscryptMiner Jan 2, 2018
@nemosminer
Copy link
Owner

nemosminer commented Jan 6, 2018

$PowerShell.Streams.Verbose.ReadAll() | ForEach-Object {
$Line = $_

    if ($Line -like "*total speed:*" -or $Line -like "*accepted:*") {
        $Words = $Line -split " "
        $HashRate = [Decimal]$Words[$Words.IndexOf(($Words -like "*/s" | Select-Object -Last 1)) - 1]

        switch ($Words[$Words.IndexOf(($Words -like "*/s" | Select-Object -Last 1))]) {
            "kh/s" {$HashRate *= [Math]::Pow(1000, 1)}
            "mh/s" {$HashRate *= [Math]::Pow(1000, 2)}
            "gh/s" {$HashRate *= [Math]::Pow(1000, 3)}
            "th/s" {$HashRate *= [Math]::Pow(1000, 4)}
            "ph/s" {$HashRate *= [Math]::Pow(1000, 5)}
        }

        $HashRate | Set-Content ".\Wrapper_$Id.txt"
    } elseif ($Line -like "*overall speed is*") {
        $Words = $Line -split " "
        $HashRate = [Decimal]($Words -like "*H/s*" -replace ',', '' -replace "[^0-9.]",'' | Select-Object -Last 1)

        switch ($Words -like "*H/s*" -replace "[0-9.,]",'' | Select-Object -Last 1) {
            "KH/s" {$HashRate *= [Math]::Pow(1000, 1)}
            "mH/s" {$HashRate *= [Math]::Pow(1000, 2)}
            "MH/s" {$HashRate *= [Math]::Pow(1000, 2)}
        }

        $HashRate | Set-Content ".\Wrapper_$Id.txt"
    }

    $Line
}

@rtdegraaf
Copy link

FYI, I'm having the same issue while benchmarking with the PalginHSR miner. Removing it from the list with algo solve's te problem for now.

@nemosminer
Copy link
Owner

nemosminer commented Jan 18, 2018

removed Palgin as not ready to be added yet

did manage to get it to work but not up to my standards
will continue trying and add it to following release

@bykka
Copy link

bykka commented Jan 18, 2018

Just to keep all Palgin issues in one place.
My benchmarking for two 1080ti shows next

 Palgin               NeoScrypt      310,24 MH/s      126,046      0,12605 125,393    1 482,295    0,40628 ahashpool24hr-
 CcminerKlaust        NeoScrypt        2,79 MH/s        1,133      0,00113 1,127         13,320    0,40628 ahashpool24hr-

@nemosminer
Copy link
Owner

nemosminer commented Jan 20, 2018

Palgin doesn't have an API, did you try casting Palgin's hashrate to an integer before saving? Palgin is so much faster for NeoScrypt, it's such a waste that it doesn't work right now.

just try $HashRate = [int]$HashRate before $HashRate | Set-Content ".\PalginNeoHashrate.txt"

@nemosminer
Copy link
Owner

All is well Palgin is added and running well

latest master code is now ready to run through 6x10603gb & 6x1080ti test rigs

will post results in a hour or 2 if all is well v2.4.1 will be released

@nemosminer
Copy link
Owner

done 0f87964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants