How to make elevator/schedule type persistent across boots (multipath)

Hello All,
Running OEL 5.5 x64. Have set up multipath no probs, but notice that I get far better performance when using NOOP instead of CFQ, which is the default. Rather than having to change this every time I boot, wondering if there is a way to have it persistent across boots?
The issue is that it seems it must be done at the block level. For example, echo noop > /sys/block/sda/queue/scheduler . The problem is that these block device paths change all the time. I saw something about doing it within grub.conf, but that did not work for me (http://lonesysadmin.net/2008/02/21/elevatornoop/)
Thanks in advance!

vcovco wrote:
Running OEL 5.5 x64. Have set up multipath no probs, but notice that I get far better performance when using NOOP instead of CFQ, which is the default. Rather than having to change this every time I boot, wondering if there is a way to have it persistent across boots?Set it as a kernel boot parameter in the grub config file?
The issue is that it seems it must be done at the block level. For example, echo noop > /sys/block/sda/queue/scheduler . The problem is that these block device paths change all the time. I saw something about doing it within grub.conf, but that did not work for me (http://lonesysadmin.net/2008/02/21/elevatornoop/)
Hmm... perhaps in udev rules? These execute when the mpath devices are created. I use these to set permissions for mpath devices (at boot time or dynamically when refreshed). That should be the most appropriate place I think...

Similar Messages

  • How to make the condition type active

    hi,
    how to make the condition type active when its in inactive stage and its showing yellow triangle and y in the control features of it.
    and
    how to solve if is showing a statement as "INITAILISED".
    regards,
    balajit

    Dear Balaji,
    Yes it will come as Inactive mode.....If you make the 2 condition Class is same in single Pricing procedure ,In Standard system will display like this only..
    For Example:PR00-Condition class is Price
    EX00-Condition class is Price
    Then first Condition type will become Inactive.. change the Class of the Second Condition Type.
    Best Regards
    raj.

  • How to make change in Issue list across all project sites?

    Hi,
    We all have issue list in our project sites. We need to add some values to some of the columns in that issue list. The requirement is we need these changes to reflect in all the new sites. Also how to make these changes reflect in current existing sites.
    Can anybody suggest a way to achieve this. One thing that i am aware of is creating a new project site template and associating it with EPT but that still not solves the issue for preexisting sites.
    Please help asap.
    Thanks in advance.

    Hi SpWrk
    If you have already created some sites. You would need to apply these changes either Programetically (Powershell or C#) or Manually.
    However, you can take the following approach to avoid this problem in future. (i.e. Your "future" changes will appear in existing sites too). I am writing the procedure breifly but let me know if you need more details on this
    1) Create a content type (e.g. "Project issues" at PWA level)
    2) Associate this content type with the Issues List in your site template as well any existing project sites. Make it a default content type for Issue lists. save your site template
    3) Create all your custom columns in this new Content type (changing OOB issue columns can break your reporting)
    4) Your changes to content type should reflect in future sites as well as existing sites (whereever the content type was appiled)
    Regards
    Hammad Arif EPM Advice Blog

  • How to make a scheduler in Java

    I am interested in make a scheduler in java that can run my own services according to schedule.Can any one help me for this.Thanks in advance.
    Rizwan

    Follow this code Hope this will help u
    import java.util.Timer;
    import java.util.TimerTask;
    * Simple demo that uses java.util.Timer to schedule a task to execute
    * once 5 seconds have passed.
    public class Reminder {
    Timer timer;
    public Reminder(int seconds) {
    timer = new Timer();
    timer.schedule(new RemindTask(), seconds*1000);
    class RemindTask extends TimerTask {
    public void run() {
    System.out.println("Time's up!");
    timer.cancel(); //Terminate the timer thread
    public static void main(String args[]) {
    System.out.println("About to schedule task.");
    new Reminder(5);
    System.out.println("Task scheduled.");
    When you run the example, you first see this:
    Task scheduled.
    Five seconds later, you see this:
    Time's up!
    Chatrapathy

  • How to make a ring-type colorbox selector

    Hi,
        How to make a color selector as shown in the attached pic and vi? I have thought about using ring control, but I couldn't put a colorbox as the item inside the ring. Someone familar with this?
    Thanks.
    PS: attached vi is for Labview 5.1.1, I want to rewrite in labview 2010.
    Solved!
    Go to Solution.
    Attachments:
    resistor decoder.vi ‏108 KB
    Resistor Decoder.JPG ‏32 KB

    If you need future upconversion there is an Upconvert Requests Thread that you can use. There is also a corresponding Downconvert Requests Thread.
    As far as the code is concerned:
    Iit's not clear whether this VI was meant to run continuously or not. There is no outer loop for the VI, so the original programmer might have used the Run Continuously button. This is a bad idea, since that button is intended to be used for debugging purposes, not for normal operation.
    The VI has a minor bug. The numeric indicator for the result value has only 1 significant digit. Thus, for the colors black, green, silver it shows an answer of 0.1 but the actual value of the indicator is 0.05. 
    The original programmer used decorations to hide the numeric increment/decrement controls on the picture ring. This is not necessary. Simply right-click on the control select Visible Items -> Increment/Decrement to hide them.
    The colors shown aren't exactly correct. Some are missing. See here: http://samengstrom.com/24614782/en/read/4_Band_Resistor_Color_Codes  and here: http://en.wikipedia.org/wiki/Electronic_color_code

  • How to make a USB bootable disk to boot up my macbook pro.

    Macbook Pro has just fallen and HDD will not boot up.
    Start up screen keep bringing up a folder with a question mark in it, and the hard drive keeps making a noise that doesnt sound good.
    Need to know how to make a USB bootable disk in order to boot up my macbook and install my new SSD.
    Or any other information that could help me.
    I was running OS X Yosemite, so would prefer to have this reinstalled onto the boot up disk.
    PLEASE HELP !!!!

    Install or Reinstall Lion from Scratch
    If possible backup your files to an external drive or second internal drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Erase button and wait until the process has completed.
    Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Install button.

  • How to make the document type in OAC2 as a parameter

    In Generic Object Services, when I choose Store Business document to manually attach word files from my desktop to a sales order, the filename which I choose is not displayed with the same name in the attachment list. It takes the document type name from OAC2 transaction. How do I make it display the filename and the author etc instead of choosing a generic name from document type in OAC2. The main problem is when I attach 2 word documents from my desktop, it attaches with the same generic name which is shown in OAC2. It is difficult to differentiate between the two documents unless one opens both the documents from the attachment list to figure out that they are different.

    Hi,
    In the report event at selection-screen output, based on the user action you can do that try like below:
    at selection-screen output.
    if p_checkbox = 'X'.  "Checkbox checked
        s_blart-low = 'F'.
       s_blart-option = 'EQ'.
      s_blart-sign = 'I'.
      append s_blart.
    endif.
    Regards,
    Himanshu

  • Help, how to make a program type in a command in command prompt?

    I've got a small code that only works if you type in something like this (assume that the .java file is smallcode.java):
    c:\>java smallcode filename.dcm
    on the other hand, in my main program I have a if else ladder that I want to fit in this code, when my file chooser choose the file type .dcm, I want it to execute the command above, how can I do it?

    1. Not sure if your file is an absolute path name,
    like "c:\files\file.dcm". If it's not, then it has to
    be in the same directory as where your running
    picviewer from. I always use the absolute path just
    to be safe.you know what, you just point out how stupid I am, the path is relative, it depends on where the user surf into, I get the directory like this:
    FileDialog fd = new FileDialog(this, "Select Directory", 0);
    String directory = fd.getDirectory();
    String fileName = fd.getfileName();
    >
    2. Your command string is wrong, try:
    String cmd = ("cmd /c d:\\java
    project\\picviewer\\test\\java DicomViewer " +
    "\""+file+"\"");You are missing a space between DicomViewer and the
    file name. Also, to make sure that it doesn't parse
    the file name, put it in quotes (like I have done
    above).I see, I'll modify the code and come back in couple minutes.
    thanks

  • How to make dynamic PDF form flowable across 2 pages in LiveCycle?

    I have a dynamic PDF form that is flowable on each page but not both. By that I mean that the fields on the 2nd page won't move to the 1st page if there is available space. How can I make the entire document flowable? I am using Adobe LiveCycle ES2 Designer to create the form. Thank you in advance.

    Hi,
    you need just one page which is flowable and allows page breaks.

  • How to make sure user type valid value? If valid -- Proceed

    Me develop a java console program.
    BufferedReader request = new BufferedReader(new InputStreamReader(System.in));
    String strpollutantNumber;
    int pollutantNumber;
    System.out.print("Enter pollutant number >> ");
    strpollutantNumber = request.readLine();
    pollutantNumber = Integer.parseInt(strpollutantNumber);
    I want to control my pollutant number and make it always valid. Let's say, pollutant number is between 1 to 4 only. If user press 5, system ask to re-enter valid value as follow
    Your pollutant number is invalid. Please re-enter.
    Enter pollutant number >>
    Did i need using loop at
    System.out.print("Enter pollutant number >> ");
    strpollutantNumber = request.readLine();
    pollutantNumber = Integer.parseInt(strpollutantNumber);
    or something..
    need help.

    so far, i want to control user input using
    while ( ......)
    user must enter value >=0.31 and <=0.39. if user enter value=0.29, it means this value is out from >=0.31 and <=0.39. see below program
    while(gramEmitted>=0.31 && gramEmitted<=0.39) {
    System.out.print("Your grams emitted value is not valid ... Please re-enter \n");
    System.out.print("Enter number of grams emitted per mile >> ");
    strgramEmitted = request.readLine();
    gramEmitted = Double.parseDouble(strgramEmitted);
    i want user will prompt >> Your grams emitted value is not valid .. Please re-enter \n
    Enter number of grams emitted per mile >>
    what i've now is when user enter value=0.29, the program not prompt the user to re-enter the value again.
    how to adjust
    while(*gramEmitted>=0.31 && gramEmitted<=0.39*) {
    System.out.print("Your grams emitted value is not valid ... Please re-enter \n");
    System.out.print("Enter number of grams emitted per mile >> ");
    strgramEmitted = request.readLine();
    gramEmitted = Double.parseDouble(strgramEmitted);
    Edited by: Delinda on Oct 21, 2008 11:26 PM

  • How to distinguish the "Schedule type"

    Dear Experts
    Please help to let me know which table can show and set the ' Basic schedule" or " Lead Time schedule " for the Material ?
    I tried to find in MM03 and MMD3 but fail to get it .
    Thanks a lot !

    Dean,
    Not sure I really understand your question.  When people are talking about 'basic vs lead time' scheduling, they are usually talking about one of the MRP parameters.  MRP parameter 'Scheduling' can be set when executing, for instance, transaction MD01.  Here you can determine the scheduling of the Planned orders that are created by MRP:  "Basic" or "Lead time".
    So, exactly what table data are you looking for?  What is the purpose of your query?
    Best Regards,
    DB49

  • How to make and schedule backup tasks for MySQL Databases

    Has NSS 322 this functionality? If not, are there any packages to do dat? I can´t see the folders that contain MySQL Databases, so I can´t backup them.
    Many thanks in advance for your support.

    All of the MySQL databases are visable within the phpMyAdmin application.  phpMyAdmin can export, import, manage the databases directly.
    To use the remote replication feature from the GUI, you need the databases visible in a share.  I'm sure that is possible through the CLI, but I'm not able to tell you how to do it.  Maybe someone else on the forum can help provide a solution.
    You can also use the rsync command in the CLI directly.
    Did you find any ideas on the phpMyAdmin website?  This must be a common task that someone has worked out a solution for.

  • How to change the NAT type to Open on a Imac using bridged connections

    Hey everyone I have a problem. I play xbox live with my friends and i just moved and dont have a wireless adapter anymore. so i have bridged connections with my imac and xbox via ethernet. It works perfectly, but the only problem is that when i connect it say that my NAT type is strict. To play with all my friends i need a open NAT type. Does anyone know how to make the NAT type on the Imac open. And i do have a D-link router model DIR-625. When i called D-link they said to port forward, i did and it still didnt work, they said it must be the fire wall on the mac, microsoft said the same thing, that it might be the fire wall. I checked the fire wall and it said "All Incoming connections are allowed".
    I would really much appreciate it if someone helped me. Thank you!

    Yes, most likely. Microsoft has provided a list of XBox LIVE!-compatible routers. Since the OS X Internet Sharing feature is limited, there is no way to configure port mapping or placing the XBox in a DMZ with it. Typically, you either use a compatible router or configure port mapping/DMZ for non-compatible routers.

  • I dont know how to make a partition help!

    I dont know how to make a partition help!

    Open Boot Camp Assistant, print the directions, read them carefully.
    Backup your Mac before you do anything.

  • How to make project across two DVDs with one DVD menu

    Hi!
    I’m working on a large project (3 hours of video with about 10 chapters, over 50 pictures in a playlist, and special feature chapter) and wondering is it possible to make an project across 2 or more DVDs, but to have menu only on first one? I’d like to make an project that comes with menu only on first DVD and when you click on e.g. “special features” button, then you get the message “please insert DVD 2″
    Is it possible and how to make something like that?
    Thank you!

    I would have EACH DVD begin with a menu. Somebody will insert DVD 2 first no matter how you label things.
    Yes, you are right! People just don't want to read, but I'm making an animated menu in AE and it'll take about 300MB (rendered in .mpg). That is what I want to avoid on other DVDs to save some space. You just gave me an idea so I'll make some small menu for other one or two DVDs with just a few informations about what DVD is inserted and what DVD you need to insert if you want to watch something else from that project. Thank you!
    I just have to learn better Encore and its capabilities and limitations (if I have time )

Maybe you are looking for

  • ALE Configuration problem

    Hi All, I have to send idoc from R/3 to R/3. For this i have created logical systems(D100 and R200) in both the clients(100 sender and 200 Receiver ). I am able to remote login from sender and receiver systems. I have created the ports in both the sy

  • How to change locale of "jslang=' ' in the head of webpage of dynamic BC website

    I recently replicated a BCGurus template to my partner portal. The template is used for a dynamic website. I've noticed when the culture is set in site domains, e.g. Netherlands and culture none, the var slang="NL" is set in the <head> of the templat

  • How to forward sms messages via email with date and contact received info

    Does anyone know how to forward sms messages via email with date and contact received info. Currently when I forward only the body copy of the sms message is sent in the email.

  • Finder slow to show items in column, icon views (OK in list, cover flow)

    I'm seeing new perplexing slow behavior on our three-month old iMac running 10.5.5: when in column view and selecting (or in icon view and double-clicking) a folder, there is an initial five-second lag before items will appear in the next column or w

  • Return for correction from asynchronous page

    HI , I have a process for Contingent Worker Placment. I am initiating the process and have 2 approvers in the supervisor hirerachy. but requirement is that after these 2 approvers we need to have the final approval from another team. but they ll not