Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to operate iCompo Scheduler under Linux

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of how to operate the iUniver scheduler under Linux, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this article on how to operate the iUniver scheduler under Linux. Let's take a look.

What is the iCompo scheduler?

Linux's I _ max O scheduler is a process that accesses storage volumes with block I _ O, sometimes called a disk scheduler. The working mechanism of the Linux IZP O scheduler is to control the request queue of the block device: to determine which one in the queue has the highest priority and when to send it to the block device, so as to reduce the disk seek time and improve the throughput of the system.

Currently, there are several scheduling algorithms on Linux: noop-devices commonly used for in-memory storage. Cfq-full fair scheduler. The average process uses IO bandwidth. Deadline-for a delayed scheduler, each Imax O has a latest execution time. Anticipatory-heuristic scheduling, similar to the Deadline algorithm, but introducing a prediction mechanism to improve performance. How to operate the iPlus Scheduler to view the device's current Imax O scheduler: # cat / sys/block//queue/scheduler

Suppose the disk name is / dev/sdc:

# cat / sys/block/sdc/queue/schedulernoop anticipatory deadline [cfq] how to change the hard disk device Iram O scheduler

Use the following instructions:

# echo {SCHEDULER-NAME} > / sys/block//queue/scheduler

For example, set up the noop scheduler:

# echo noop > / sys/block/sdc/queue/scheduler permanently change the iCompo scheduler

The above settings will expire after restart. If you want the configuration to take effect after restart, you need to write elevator=noop to / boot/grub/menu.lst in the kernel startup parameters:

1. Back up the menu.lst file cp-p / boot/grub/menu.lst / boot/grub/menu.lst-backup2. Update / boot/grub/menu.lst

Add elevator=noop to the end of the file, such as:

This is the end of the article kernel / vmlinuz-2.6.16.60-0.91.1-smp root=/dev/sysvg/root splash=silent splash=off showopts elevator=noop > on how to operate the iUnip Scheduler under Linux. Thank you for reading! I believe everyone has a certain understanding of "how to operate the Linux scheduler". If you want to learn more, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report