On 06/22/15 21:53, Jordan Justen wrote: > On 2015-06-22 12:22:54, Brian J. Johnson wrote: >> I stuck those calculations in gnumeric (assuming Page1GSupport==FALSE) >> and got this: >> >> PABits Pml4 Pdp TotPgs MB >> ------ ---- --- ------ -- >> 36 1 64 66 0.258 >> 37 1 128 130 0.508 >> 38 1 256 258 1.008 >> 39 1 512 514 2.008 >> 40 2 512 1027 4.012 >> 41 4 512 2053 8.020 >> 42 8 512 4105 16.035 >> 43 16 512 8209 32.066 >> 44 32 512 16417 64.129 >> 45 64 512 32833 128.254 >> 46 128 512 65665 256.504 >> 47 256 512 131329 513.004 >> 48 512 512 262657 1026.004 >> >> So 48 bits of PA should take just over a GB of page tables.
Thank you Brian for this! >> Can you set PcdUse1GPageTable=TRUE? That vastly reduces the number of >> page table pages needed, and vastly reduces the time needed to >> initialize them. Just wondering. (I've found that some older Microsoft >> boot loaders don't like this setting, but I haven't tried the newer >> ones. Linux is fine with it.) > > Sound kind of complicated to tell if it is okay to use. Although, > maybe if we just use it dynamically when memory space is larger than > say 36 bits, then perhaps the risk of people running an unsupported > configuration is also low. How about I simply add a switch statement and hardcode the values from Brian's table, and after the switch I add 64MB for "misc"? Thanks Laszlo ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel