Kernel & User space
Kernel & User space
What is better?
512MB for kernel and other for user or 1GB and other for user?
512MB for kernel and other for user or 1GB and other for user?
- Kevin McGuire
- Member
- Posts: 843
- Joined: Tue Nov 09, 2004 12:00 am
- Location: United States
- Contact:
Re:Kernel & User space
If it is for testing purposes just to get you're OS up and running some then I would go with 512MB for kernel. If its a design you want to keep then I would go with 512MB for kernel still. I don't forsee the kernel needing more space than that for it-self and drivers if they run in kernel mode.
I would recommend using a dynamic way of allocating memory for the kernel that can be adjusted on the fly when needed. You are going to run into performance issues testing that in BOCHS or any emulator with a pc with less than 1024MB of ram. I would actually go smaller than 512MB if it is just for testing purposes. I'd say about 4MB.
I would recommend using a dynamic way of allocating memory for the kernel that can be adjusted on the fly when needed. You are going to run into performance issues testing that in BOCHS or any emulator with a pc with less than 1024MB of ram. I would actually go smaller than 512MB if it is just for testing purposes. I'd say about 4MB.
- Kevin McGuire
- Member
- Posts: 843
- Joined: Tue Nov 09, 2004 12:00 am
- Location: United States
- Contact:
Re:Kernel & User space
Unless, You are placing the 512MB figure for the maximum amount of allocatable space the kernel can have and not actually allocating that much space.
- Kevin McGuire
- Member
- Posts: 843
- Joined: Tue Nov 09, 2004 12:00 am
- Location: United States
- Contact:
Re:Kernel & User space
I do not see anything wrong with using 512MB for youre kernel and the rest for user, if that can help you get the kernel booted and working - but later on it would be best to use a dynamic way of allocating memory for the kernel and user space.
Re:Kernel & User space
I know but i will be later . And my OS is very simple at the moment
- Kevin McGuire
- Member
- Posts: 843
- Joined: Tue Nov 09, 2004 12:00 am
- Location: United States
- Contact:
Re:Kernel & User space
Now I'm working with Memory Manager. After month will be first oficial OS release.
Re:Kernel & User space
The mroe address space you can keep free for the user, the better (obviously). Don't be mistaken, applications requiring 3 GB RAM or more do exist, and will get more common.
Every good solution is obvious once you've found it.
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
Re:Kernel & User space
By that time 64bit techonlogy will be wide acceptedDon't be mistaken, applications requiring 3 GB RAM or more do exist, and will get more common.
- kataklinger
- Member
- Posts: 381
- Joined: Fri Nov 04, 2005 12:00 am
- Location: Serbia
Re:Kernel & User space
Good old time int 8-bit world
Re:Kernel & User space
I do hope that no DESKTOP/HACKER system needs 3gb of ram. Besides for gamming, that's outrageous! What ever happened to optimizing for size? Oh ya, something from long ago.
I hope I have 64-bit stuff before I get too far into OSdev so I can map my kernel to 16384 peta bytes . rofl, maybe if we just get 48-bit or something, it'll be ok . that's about 256 tera bytes .
Cheers, DH.
I hope I have 64-bit stuff before I get too far into OSdev so I can map my kernel to 16384 peta bytes . rofl, maybe if we just get 48-bit or something, it'll be ok . that's about 256 tera bytes .
Cheers, DH.
Re:Kernel & User space
Photoshop springs immediately to mind. Video / audio editing and FX work. Any kind of significant server work.Dragon_Hilord wrote: I do hope that no DESKTOP/HACKER system needs 3gb of ram. Besides for gamming, that's outrageous!
You might want to ask that question to the OS taking up 1 GB of space...What ever happened to optimizing for size?
Every good solution is obvious once you've found it.