LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-13-2008, 12:53 PM   #16
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141

Quote:
Originally Posted by johnsfine View Post
The problem is real. The fact that Torvalds has not chosen to deal with some problem does not, by itself, mean nothing can or should be done by someone else.

In this particular case, I personally don't think there is anything that can or should be done. But I'm still bothered by the fact that you seem to be reaching that same "do nothing" answer without bothering to understand the topic being discussed.
The fact that I didn't bother to get involved doesn't mean that I don't understand the issues of large monolithic programs and those who write them. As I pointed out in my other post, there are so many ways to avoid the issue that it's just barely conceivable that the problem needs to be addressed. I remember reading, perhaps 10 years ago, about the potential need for OSes that would managed segmented 64-bit memory spaces. I admit that I haven't kept up with the subject, but is such a thing really needed? Pointers would be enormous, at 64 bits plus the size of a segment. There are so many ways to avoid the issue that I just don't see it as a problem - mostly because of the time it takes to load gigabytes of data in the first place.
 
Old 08-13-2008, 10:56 PM   #17
kailas
LQ Newbie
 
Registered: Jul 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnsfine View Post
I have only the vaguest understanding of what "ASID based TLB support" is. I understand exactly why it is needed and what it accomplishes, but I have no idea how it is implemented nor which CPU models implement it nor what kernel support exists.
I have seen some presentations saying latest AMD processors support Tagged TLBs and hence they are better than Intel for virtualization.

However, I dont know how kernels use it.

Last edited by kailas; 08-13-2008 at 11:04 PM.
 
Old 08-13-2008, 11:03 PM   #18
kailas
LQ Newbie
 
Registered: Jul 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Quakeboy02 View Post
There are so many ways to avoid the issue that I just don't see it as a problem - mostly because of the time it takes to load gigabytes of data in the first place.
I agree that there will be many solutions to improve IPC between two processes.
But, my point here is that current address space organization requires TLB flush on every process switch by scheduler. This results in performance penalty. I am trying to solve this problem.

Please have a look at http://citeseerx.ist.psu.edu/viewdoc...10.1.1.12.8854 if you are still not convinced.
 
Old 08-14-2008, 06:01 AM   #19
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by kailas View Post
I agree that there will be many solutions to improve IPC between two processes.
But, my point here is that current address space organization requires TLB flush on every process switch by scheduler. This results in performance penalty. I am trying to solve this problem.

Please have a look at http://citeseerx.ist.psu.edu/viewdoc...10.1.1.12.8854 if you are still not convinced.
If you do not flush the TLB, won't you run the risk of process space(including data) pollution by other tasks? You would also be in the position of "reserving" specific addresses within memory for individual tasks. The net result would be a poor usage of available memory, with no ability to sense process memory faults, etc. This wouldn't be well suited for a multi-tasking multi-user OS. Bad, bad, bad.

I see TLB flushing as a feature, not as a problem. As someone else already indicated, you do not want to have unrestricted access between processes to the same data space. This is not Windows, nor do we want it to be. Memory management is properly addressed by the OS, not by the user space. The TLB is the method available to control memory management. It's not a bad method.

I still think you should go to the Memory Management page I put up, and start your journey there and with the MM developers.

Good luck.
 
Old 08-14-2008, 06:40 AM   #20
kailas
LQ Newbie
 
Registered: Jul 2008
Posts: 16

Original Poster
Rep: Reputation: 0
I've got the required inputs from people who tried to understand this positively.

Thank you very much.

Regards,
Kailas

Last edited by kailas; 08-14-2008 at 06:53 AM.
 
  


Reply



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
Relocating user home directories to a network share... gerhardb Linux - General 1 09-14-2006 07:19 AM
Running a Java executable class from another executable class LUB997 Programming 22 07-24-2005 04:57 AM
Relocating - hoping to find a beautiful Linux knowledge island linuxreason LinuxQuestions.org Member Intro 1 03-02-2005 10:47 AM
relocating partitions jason2 Linux - General 3 08-05-2004 06:44 PM
filesystem & partition copying/relocating/restoring jqpdev Linux - General 1 03-06-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration