Setting Disk I/O Priority

    The disk I/O priority for a bucket is set with the /pools/default/buckets/[bucket-name] URI and the threadNumber setting.

    HTTP method and URI

    To set the maximum of thread workers, use the threadsNumber option. To specify high priority, assign eight (8) threads. To specify low priority, assign three (3) threads. Default: threadsNumber=3. Only high or low priority are allowed.

    POST /pools/default/buckets/[bucket_name]

    The threadNumberparameter is used to specify disk I/O priority for a bucket.


    Curl request syntax:

    curl -v -X POST -u [admin]:[password]
      -d threadsNumber=[3 | 8]


    The following example sets the threadsNumber for the default bucket to eight (8), which is high priority, from the default of three (3), which is low priority.

    curl -v -X POST -u Administrator:password \ \
      -d 'threadsNumber=8'