Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-16-2009, 06:20 PM   #1
LQ Newbie
Registered: May 2009
Posts: 2

Rep: Reputation: 0
REDHAT 5.3 using MRG capability Question on RT scheduling

I am new to using MRG with Redhat. So I am hoping this question isn't silly, but I have yet to be able to figure out how to have a process set its priority and scheduling algorithm. The Realtime tuning guide says to use rtctl to set priorities and policy, but then you have to stop it and start it again. I am working on a system that needs to run real time, and I am trying to figure out how to set it to a real time scheduling algorithm, Redhat has fifo or RR, without having to start and stop system processes. sched_setscheduler comes back operation not permitted, even with MRG install and the uname -a showing "rt" at the end of the kernel version. I am just trying to figure out how to get started, and I am wondering if there is a call from within the process itself that will allow me to change the priority and the scheduler type, similar to sched_setscheduler. Maybe there is a privgrp type of setting in linux I need to update, similar to the HP-UX method of doing things, I am more familiar with HP-UX then Linux. Thanks in advance for any insight to this matrix I am facing. -Craig
Old 05-18-2009, 07:21 AM   #2
LQ Newbie
Registered: May 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Never mind

I figured it out, I didn't know about the /etc/security/limits.conf file.


mrg, redhat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Q and A: MRG (Messaging, Real-time, and Grid) LXer Syndicated Linux News 0 09-04-2008 03:30 AM
MRG Sample Code xingkia Programming 0 05-05-2008 08:43 PM
Linux: Thread scheduling question cpillonel Linux - Software 1 02-15-2008 12:27 AM
scheduling question cathiejcm Linux - Newbie 1 01-28-2006 10:55 PM
Difference between desktop & window mrg patpawlowski Linux - Newbie 1 02-02-2004 04:09 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration