Coder Social home page Coder Social logo

Comments (5)

spiritLHLS avatar spiritLHLS commented on May 18, 2024 3

60b1800

已修改脚本使得systl优化仅在测试期间起效果,执行完毕后重置回默认的设置,避免影响原系统环境

from ecs.

spiritLHLS avatar spiritLHLS commented on May 18, 2024

今天晚些时候增加该选项

from ecs.

spiritLHLS avatar spiritLHLS commented on May 18, 2024

看了一遍源码,由于要保留菜单栏选项,所以无法通过外部再传输参数了,目前脚本的修改仅限于在原有的基础上增加设置,而不是修改已经有的设置,原有的sysctl参数不会被修改覆盖,这方面应该不会导致使用的问题,如果有请告知

from ecs.

DearTanker avatar DearTanker commented on May 18, 2024

在默认干净的系统,sysctl 默认没有任何参数。
执行命令后,sysctl 会带有脚本引入的参数,我个人觉得这种似乎不太恰当。

因为近期需要测试大量机器,对每台机器重新还原的话,发现这是一个不小的工作量。

from ecs.

spiritLHLS avatar spiritLHLS commented on May 18, 2024

唔,有道理

还有另一种折中的方法,优化只在测试期间生效,优化前记录原始默认值,测试完毕后删除优化变回默认值,这样两全其美

明天晚些时候看看,应该是可实现的

from ecs.

Related Issues (13)

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.