Giter VIP home page Giter VIP logo

synology_enable_sequential_io's Introduction

Synology enable sequential I/O

Donate committers.top badge

Description

Enables sequential I/O for your SSD caches, like DSM 6 had when you unticked the "Skip sequential I/O" option.

Note: Monitor your NVMe drive and 10G card temperature. There have been reports online that enabling sequential I/O for an SSD cache can cause a 10G network card to overheat (which may be why Synology disabled SSD cache sequential I/O from DSM 7 onwards). It will also wear out the NVMe drive(s) much faster.

Download the script

  1. Download the latest version Source code (zip) from https://github.com/007revad/Synology_enable_sequential_IO/releases
  2. Save the download zip file to a folder on the Synology.
  3. Unzip the zip file.

Running the script via SSH

How to enable SSH and login to DSM via SSH

Note: Replace /volume1/scripts/ with the path to where the script is located. Run the script then reboot the Synology:

sudo -i /volume1/scripts/syno_seq_io.sh

Scheduling the script in Synology's Task Scheduler

To ensure that your cache(s) still have sequential I/O enabled after a reboot you should schedule the script to run at boot.

See How to schedule a script to run at boot in Synology Task Scheduler

Options

      --volumes=VOLUME  Volume or volumes to enable sequential I/O for
                          Use when scheduling the script
                          Examples:
                          --volumes=volume_1
                          --volumes=volume_1,volume_3,volume_4
      --kb=KB           Set a specific sequential I/O kb value
                          Use to disable sequential I/O
                          --kb=1024
  -e, --email           Disable colored text in output scheduler emails
  -h, --help            Show this help message
  -v, --version         Show the script version

You can run this script with a parameter to specify the skip_seq_thresh_kb

For example the following would set the cache you select back to default

sudo -i /volume1/scripts/syno_seq_io.sh 1024

Note: If no parameter the script defaults to 0 (which enables sequential I/O).


Screenshots

Enabling sequential I/O

Reset a cache to 1024 KB to disable sequential I/O

Scheduled to enable sequential I/O for 2 caches with --volume option

Choose from multiple caches

synology_enable_sequential_io's People

Contributors

007revad avatar

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.