Hello to everyone,
I am running Bare Metal OS on x86 64 Core 2 architecture. I have real dilemma while running very intensive Real Time application on this HW. I am running it in Protected Mode.
Control Register 0 (CR0) register has bit 0 as PE (Protected Mode Enabled) and bit 31 as PG (Paging Enable). It is obvious that PE must be enabled (for PM - 4GB mode to run, instead Real Mode - 1MB). The system has 256MB of memory.
Intention is to make system as fast as can (close to the metal). In my opinion, there is NO NEED to switch PG ON, since the paging mechanism via Translation Lookaside Buffers (TLBs) will slow the system.
What do you suggest, should I enable PG or NOT, and why?