Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-08-2009, 11:40 AM   #1
LQ Newbie
Registered: May 2009
Location: UK
Distribution: Ubuntu: Jaunty Jackalope
Posts: 13

Rep: Reputation: 0
Modifying the time slice for user processes.

Hi all,

Does anyknow know how I can modify the time slice for user processes? This exercise is purely educational -> (an assignment).

I found in kernel/sched.c a preprocesser directive:
#define DEF_TIMESLICE  100 * HZ / 1000
And then found out that just modifying this statement and rebuilding was not the correct way to go about doing this.


Last edited by RossR; 06-08-2009 at 11:42 AM.
Old 06-08-2009, 02:00 PM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Check out man nice.


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
Allow user to mount NFS partition without modifying fstab borkhuis Linux - Networking 2 09-23-2008 04:03 PM
Modifying User and Group IDs Woodsman Slackware 3 09-01-2006 10:34 PM
How many processes have you had going at one time? IamI General 1 03-01-2005 08:30 PM
How to change time slice of linux? zhu_liheng Programming 1 12-19-2003 03:52 AM
modifying configuration files while logged in as a regular user jgallas Linux - Security 3 08-13-2003 10:31 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:45 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