who can join me and help me?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
sancho1980
Member
Member
Posts: 199
Joined: Fri Jul 13, 2007 6:37 am
Location: Stuttgart/Germany
Contact:

Post by sancho1980 »

paging in minix is a work in progress
the current stable release doesn't have it!
User avatar
KrnlHckr
Member
Member
Posts: 36
Joined: Tue Jul 17, 2007 9:16 am
Location: Washington, DC Metro Area
Contact:

Post by KrnlHckr »

For what it's worth...

From OSDI:3rd Edition, Tanenbaum[2006], pg 420, sec 4.7, para 1:

"Memory management in MINIX 3 is simple: paging is not used at all. MINIX 3 memory management as we will discuss it here does not include swapping either. Swapping code is available in the complete source and could be activated to make MINIX 3 work on a system with limited physical memory. In practice, memories are so large now that swapping is rarely needed."

Emphasis mine.
"If your code won't run, verify that you are, indeed, using the STABLE branches of your toolchain!" -- KrnlHckr, 2007 :oops:
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

KrnlHckr wrote:
Swapping code is available in the complete source and could be activated to make MINIX 3 work on a system with limited physical memory. In practice, memories are so large now that swapping is rarely needed."
It's true though. I run Ubuntu in 1GB, and I discovered a while ago that my swap partition was corrupted and swapping was off. Never noticed it.


JAL
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

It's not true.

My work box stays on permanently for several months between reboots, and ends up swapping quite frequently. I've had several kernel panics when I forgot to set up swapspace.

Also, try running Oracle on a server without swapspace and see how long it lasts... :twisted:
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

JamesM wrote:Also, try running Oracle on a server without swapspace and see how long it lasts... :twisted:
To run Oracle decently, one needs gigantic memory anyway :).


JAL
User avatar
KrnlHckr
Member
Member
Posts: 36
Joined: Tue Jul 17, 2007 9:16 am
Location: Washington, DC Metro Area
Contact:

Post by KrnlHckr »

It seems, then, that the need for swap (as pointed out by Tanenbaum) is dependent upon the type of system - server or workstation/desktop. Server software such as Oracle can be monsterous pigs, indeed. IIRC, Linux will allocate as much physical RAM as it can and page as needed.

My desktop appears to never have used swap. It's a 2GB Dell laptop. Some of my servers (oracle db boxes, ironically) are swap crazy.

All of this is what makes OS development and research so much fun!

-sean
"If your code won't run, verify that you are, indeed, using the STABLE branches of your toolchain!" -- KrnlHckr, 2007 :oops:
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Oh yeah, forgot the second biggest desktop killer... x.org! It regularly uses masses of RAM and slows my (work) system to a crawl.

That and Firefox combine to make the ultimate machine destroyer!
User avatar
KrnlHckr
Member
Member
Posts: 36
Joined: Tue Jul 17, 2007 9:16 am
Location: Washington, DC Metro Area
Contact:

Post by KrnlHckr »

JamesM wrote:Oh yeah, forgot the second biggest desktop killer... x.org! It regularly uses masses of RAM and slows my (work) system to a crawl.

That and Firefox combine to make the ultimate machine destroyer!
And how sad it is that a OS which we proclaim to be the killer of the bloatware that is Windows falls victim to its own bloated code... :(
"If your code won't run, verify that you are, indeed, using the STABLE branches of your toolchain!" -- KrnlHckr, 2007 :oops:
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

I don't think that's a problem that the OS is entirely to blame for - with both Windows and Linux desktop environments, people want lots of functionality and pretty graphics :)

Cheers,
Adam
User avatar
KrnlHckr
Member
Member
Posts: 36
Joined: Tue Jul 17, 2007 9:16 am
Location: Washington, DC Metro Area
Contact:

Post by KrnlHckr »

AJ wrote:I don't think that's a problem that the OS is entirely to blame for - with both Windows and Linux desktop environments, people want lots of functionality and pretty graphics :)

Cheers,
Adam
Oops, too true. Darn those piggy application developers! :)
"If your code won't run, verify that you are, indeed, using the STABLE branches of your toolchain!" -- KrnlHckr, 2007 :oops:
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

JamesM wrote:Oh yeah, forgot the second biggest desktop killer... x.org! It regularly uses masses of RAM and slows my (work) system to a crawl.

That and Firefox combine to make the ultimate machine destroyer!
Xorg barely uses 20M of ram on my main workstation and I've had the system running for nearly a week, personally I think your attacks toward it are unwarranted. :roll:

As for Firefox, we're in complete agreement... here's hoping for version 3.0.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

As for Firefox, we're in complete agreement... here's hoping for version 3.0.
If RC1 is anything to go by, it's better, but still not ideal. 90 MB at the moment with only GMail and this page open in tabs.

It seems to me though that they added more bugs just for RC1 :P
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

I use IE7, simply because it opens faster than Firefox. I refuse to keep either open all the time, they both use up too much memory.
Post Reply