Jump to content

I've reading about Memory Management Units which many Microprocessors didn't start out having them along with a FPU, like they have now. Now I know that having a MMU implemented in a Microcomputer with OS support, provides Virtual Memory and Memory Protection. But I am wondering if these things provided in Software /w a MMU?

https://en.wikipedia.org/wiki/Memory_management_unit

 

I can image however that the System will take a performance hit however.

Link to comment
https://linustechtips.com/topic/1283089-everything-a-mmu-does/
Share on other sites

Link to post
Share on other sites

Yes, you cam emulate a MMU in software, but it's painfully slow. Like a thousand times slower (I'm not exaggerating), so it nullifies any benefit of doing so.

 

IIRC, someone tried it with DSLinux in order to have paging, but it was not worth it in the end.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
https://linustechtips.com/topic/1283089-everything-a-mmu-does/#findComment-14316624
Share on other sites

Link to post
Share on other sites

1 minute ago, igormp said:

Yes, you cam emulate a MMU in software, but it's painfully slow. Like a thousand times slower (I'm not exaggerating), so it nullifies any benefit of doing so.

 

IIRC, someone tried it with DSLinux in order to have paging, but it was not worth it in the end.

Well I knew that FPUs can be emulated in Software to use Linux and other OSes and software that Require a FPU to be installed. But that last time I had a System that uses a Processor without a FPU was way back in ~1994.... Every Computer own since then had FPU...

Link to comment
https://linustechtips.com/topic/1283089-everything-a-mmu-does/#findComment-14316651
Share on other sites

Link to post
Share on other sites

6 minutes ago, whm1974 said:

Well I knew that FPUs can be emulated in Software to use Linux and other OSes and software that Require a FPU to be installed. But that last time I had a System that uses a Processor without a FPU was way back in ~1994.... Every Computer own since then had FPU...

Many microcontrollers and embedded SoCs don't have neither a FPU nor a MMU (specially some routers). That's why things such as µCLinux exists (and projects built on top of it, such as OpenWRT).

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
https://linustechtips.com/topic/1283089-everything-a-mmu-does/#findComment-14316668
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×