LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2007, 06:14 PM   #1
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Rep: Reputation: 0
QoS system for the memory in Linux


I'm trying to develop a kind of QoS system for the memory in Linux for an university project, I could not find anything in this direction searching in the web and mail lists but maybe there exist something yet implemented or an starting project that can help me.
If this is the case and anybody of you know about it, can you please give me any hint. I'm a bit lost in this field.

Thanks a lot,
 
Old 07-31-2007, 06:21 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
You'll need to define what you are looking for in a little more detail.
 
Old 07-31-2007, 08:31 PM   #3
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I want to garantize a quota or % of memory to one user (all of his processes).
 
Old 07-31-2007, 08:50 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
The only place you see that type of memory management is in a hypervisor, like Xen or VMWare. Take a look at the Xen code for the kernel.
 
Old 08-01-2007, 06:32 PM   #5
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Anybody can help me???? I'm dissapointed...
 
Old 08-01-2007, 08:09 PM   #6
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Disappointed with what? What are you looking for?
 
Old 08-02-2007, 05:14 PM   #7
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by macemoneta
Disappointed with what? What are you looking for?
Sorry, but I would not ofend you. I'm desesperated because I don't koow what I looking for...
 
Old 08-02-2007, 05:21 PM   #8
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
Well, if you don't know what you are looking for, we can't help you find it. Good luck in your search.
 
Old 08-02-2007, 05:32 PM   #9
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I'm looking for, if exists some thing/application/kernel patch to garantize a quota or % of memory for one user. When this user needs the memory for some proces, he always have a quota or % of memory.

Thanks a lot,
Chapel Evergreen.
 
Old 08-02-2007, 05:42 PM   #10
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500

Rep: Reputation: 285Reputation: 285Reputation: 285
That's why I pointed you to the Xen kernel code; it will show you how to accomplish that. If you are looking for a finished product that will satisfy the requirements of your project, I can guarantee that you won't find it.
 
Old 08-02-2007, 07:22 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 10,448

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
There is development to provide this in the mainline kernel - amongst other things.
Last I checked my mail the interested parties were in heavy (re-)architecture discussions.
Again.

Check LKML for "containers".
 
Old 08-02-2007, 07:25 PM   #12
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I believe that you say is absoluty true, but do you have some idea how to implement something similar in a normal computer (non virtual machines) ??
 
Old 08-02-2007, 07:29 PM   #13
chapel
LQ Newbie
 
Registered: Jul 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
There is development to provide this in the mainline kernel - amongst other things.
Last I checked my mail the interested parties were in heavy (re-)architecture discussions.
Again.

Check LKML for "containers".
Thank you, I will investigate about it.
 
  


Reply

Tags
homework


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
QoS system for the memory in Linux chapel Linux - Software 2 07-31-2007 06:31 PM
linux system() function + memory consumption mihirsevak Programming 2 02-17-2007 08:40 AM
Linux, an Operating System with Memory Leaks? czamora Linux - General 3 09-12-2006 02:34 PM
Total system physical memory information in linux bhavishya_goel Linux - Kernel 2 08-15-2006 01:22 PM
My Linux system does not recognize upgraded memory! MatthewRowley Linux - Hardware 2 05-11-2003 05:28 AM


All times are GMT -5. The time now is 12:43 PM.

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