Giter Club home page Giter Club logo

Comments (3)

KawaiiZapic avatar KawaiiZapic commented on May 25, 2024

在部分设备上,termux内的程序无法得知CPU具体情况,默认只使用大核,需要手动修改配置利用全部核心.
经测试,通过修改利用全部核心,能让骁龙625上运行panthera算法达到约400H/s,比默认利用大核高出150H/s.

一般情况下,xmrig能够自行确认所需要利用的核心数量,最典型的例子就是在具有超线程功能的CPU上,xmrig仅会使用真正的核心以减少线程调度造成的开销,强行使用所有线程不会提升性能,反而会减少约20%的性能.

在arm设备上这个功能没卵用,手动指定全部核心干就完事了.

from aminer.

cornjosh avatar cornjosh commented on May 25, 2024

termux内的程序无法得知CPU具体情况,默认只使用大核,需要手动修改配置利用全部核心.
经测试,通过修改利用全部核心,能让骁龙625上运行panthera算法达到约400H/s,比默认利用大核高出150H/s.

一般情况下,xmrig能够自行确认所需要利用的核心数量,最典型的例子就是在具有超线程功能的CPU上,xmrig仅会使用真正的核心以减少线程调度造成的开销,强行使用所有线程不会提升性能,反而会减少约20%的性能.

在arm设备上这个功能没卵用,手动指定全部核心干就完事了.

好建议,有空改进脚本,目前请先自行指定

from aminer.

jacob210 avatar jacob210 commented on May 25, 2024

怎么自行指定核心呀,我的骁龙615自动运行就是4线程,其他手机可以8线程的,奇怪!

from aminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.