Sponsored Content
Full Discussion: HP-UX Scheduling Algorityms
Operating Systems HP-UX HP-UX Scheduling Algorityms Post 302071669 by Mr_Roboto on Sunday 23rd of April 2006 02:22:35 PM
Old 04-23-2006
HP-UX Scheduling Algorityms

From my reading HP-UX uses 4 different CPU scheduling algorithms: HP-UX Time-Share, HP Process Resource Manager, HP-UX Real-Time Scheduler, and POSIX-Compliant Real-Time Scheduler.

Here is where I am getting a little lost. Each algorithm seems to have its own priority, one higher than the other. Does this mean that HP-UX implements all four at the same time or does one choose to implement them singly and you have a choice of four algorithms?

Any insight would be appreciated.

Thank you,

Rich
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

scheduling

i have tried to schedule my process at a certain time using the at command : the error says bad time specification can somebody help me i used at 2300 job thanks (2 Replies)
Discussion started by: prashantuc
2 Replies

2. HP-UX

cron scheduling?

Hi all, i want a job to run first monday of every of month. (1 Reply)
Discussion started by: megh
1 Replies

3. UNIX and Linux Applications

Job Scheduling

I am working on UNIX AIX system, with Oracle OS. We are not supposed to use any tools to schedule our unix shell scripts. Basically we have to make use of Oracle tables and Shell scripts to manage dependencies, restartability, scheduling, parallelizing,etc. If anyone has worked/ is working... (1 Reply)
Discussion started by: singhabhijit
1 Replies

4. Shell Programming and Scripting

Job Scheduling

I am working on UNIX AIX system, with Oracle OS. We are not supposed to use any tools to schedule our unix shell scripts. Basically we have to make use of Oracle tables and Shell scripts to manage dependencies, restartability, scheduling, parallelizing,etc. If anyone has worked/ is working... (4 Replies)
Discussion started by: singhabhijit
4 Replies

5. Programming

Time scheduling

Hello !!! i am trying to create a command scheduler (written in C). Basically i would like to do what the "at" command does , but without using "at" or "cron". I have tried using getitimer but i do not know how can i shcedule multiple commands. Any ideas ??? (2 Replies)
Discussion started by: mcnikolas
2 Replies

6. Linux

Help with cronjob scheduling

Hi Everybody, How to schedule a job using cron that shouldn't run between working hrs 9am-5pm, while run in non working hrs every hour, every day of the month, month & week. I tried the following way, not sure I can use logical not operator(!). Please correct me if wrong or suggest other... (2 Replies)
Discussion started by: sudhirav
2 Replies

7. Shell Programming and Scripting

help required on scheduling

hi I have a script, abc.sh first time user will start a script using <<abc.sh start >>, inside a script using " at " i am schduling same script for every one hour. so my script always running . total script execution time takes around 1sec for closing same << abc.sh stop>> here... (2 Replies)
Discussion started by: pvr_satya
2 Replies

8. Shell Programming and Scripting

Scheduling scheduling !!!

Hi, i have 10 sh scripts. All are running in parallel using cron tab and each script gives "success" flag files once the execution is completed. and, now i have 11th script which should look for "success" flag from those 10 sh scripts. once all the 10 flag files found, 11 th script has to do... (9 Replies)
Discussion started by: nago123
9 Replies

9. Shell Programming and Scripting

Scheduling issues

I AM ON SOLARIS I have a script it.sh which is running fine when i execute it from shell command. But when i schedule it in crontab it is throwing error. Why and how can i resolve it ?i am clueless IT.SH #!/bin/sh ORACLE_HOME=/var/opt/oracle/product/10g; export ORACLE_HOME... (1 Reply)
Discussion started by: rafa_fed2
1 Replies

10. UNIX for Beginners Questions & Answers

Scheduling a script

Hi, I have my script in below path in UNIX /storage/sas_source/SDTM-Development/FileWatcher/filewatcher.sh I want to schedule it to run every 30 secs. Please let me know the steps to do it. Thanks. (7 Replies)
Discussion started by: prats_7678
7 Replies
dispadmin(1M)						  System Administration Commands					     dispadmin(1M)

NAME
dispadmin - process scheduler administration SYNOPSIS
dispadmin -l dispadmin -c class -g [-r res] dispadmin -d [class] DESCRIPTION
The dispadmin command displays or changes process scheduler parameters while the system is running. dispadmin does limited checking on the values supplied in file to verify that they are within their required bounds. The checking, however, does not attempt to analyze the effect that the new values have on the performance of the system. Inappropriate values can have a negative effect on system performance. (See System Administration Guide: Basic Administration OPTIONS
The following options are supported: -c class Specifies the class whose parameters are to be displayed or changed. Valid class values are: RT for the real-time class, TS for the time-sharing class, IA for the inter-active class, FSS for the fair-share class, and FX for the fixed-priority class. The time-sharing and inter-active classes share the same scheduler, so changes to the scheduling parameters of one will change those of the other. -d [class] Sets or displays the name of the default scheduling class to be used on reboot by the startup script /etc/init.d/sysetup. If class name is not specified, the name and description of the current default scheduling class is displayed. If class name is specified and is a valid scheduling class name, then it is saved in dispadmin's private configuration file /etc/dispadmin.conf. Only super-users can set the default scheduling class. -g Gets the parameters for the specified class and writes them to the standard output. Parameters for the real-time class are described in rt_dptbl(4). Parameters for the time-sharing and inter-active classes are described in ts_dptbl(4). Parameters for the fair-share class are described in FSS(7). Parameters for the fixed-priority class are described in fx_dptbl(4). The -g and -s options are mutually exclusive: you may not retrieve the table at the same time you are overwriting it. -l Lists the scheduler classes currently configured in the system. -r res When using the -g option you may also use the -r option to specify a resolution to be used for outputting the time quantum values. If no resolution is specified, time quantum values are in milliseconds. If res is specified it must be a positive integer between 1 and 1000000000 inclusive, and the resolution used is the reciprocal of res in seconds. For example, a res value of 10 yields time quantum values expressed in tenths of a second; a res value of 1000000 yields time quantum values expressed in microseconds. If the time quantum cannot be expressed as an integer in the specified resolution, it is rounded up to the next integral multiple of the specified resolution. -s file Sets scheduler parameters for the specified class using the values in file. These values overwrite the current values in memory--they become the parameters that control scheduling of processes in the specified class. The values in file must be in the format output by the -g option. Moreover, the values must describe a table that is the same size (has same number of priority levels) as the table being overwritten. Super-user privileges are required in order to use the -s option. Specify time quantum values for scheduling classes in system clock ticks, and not in constant-time units. Time quantum values are based on the value of the kernel's hz variable. If kernel variable hires_tick is set to 1 to get higher resolu- tion clock behavior, the actual time quanta will be reduced by the order of 10. The -g and -s options are mutually exclusive: you may not retrieve the table at the same time you are overwriting it. EXAMPLES
Example 1: Retrieving the Current Scheduler Parameters for the real-time class The following command retrieves the current scheduler parameters for the real-time class from kernel memory and writes them to the standard output. Time quantum values are in microseconds. dispadmin -c RT -g -r 1000000 Example 2: Overwriting the Current Scheduler Parameters for the Real-time Class The following command overwrites the current scheduler parameters for the real-time class with the values specified in rt.config. dispadmin -c RT -s rt.config Example 3: Retrieving the Current Scheduler Parameters for the Time-sharing Class The following command retrieves the current scheduler parameters for the time-sharing class from kernel memory and writes them to the stan- dard output. Time quantum values are in nanoseconds. dispadmin -c TS -g -r 1000000000 Example 4: Overwriting the Current Scheduler Parameters for the Time-sharing Class The following command overwrites the current scheduler parameters for the time-sharing class with the values specified in ts.config. dispadmin -c TS -s ts.config FILES
/etc/dispadmin.conf ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
priocntl(1), priocntl(2), fx_dptbl(4), rt_dptbl(4), ts_dptbl(4), attributes(5), FSS(7) System Administration Guide: Basic Administration Programming Interfaces Guide DIAGNOSTICS
dispadmin prints an appropriate diagnostic message if it fails to overwrite the current scheduler parameters due to lack of required per- missions or a problem with the specified input file. SunOS 5.10 7 Oct 2002 dispadmin(1M)
All times are GMT -4. The time now is 05:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy