<div dir="ltr">Incorrect. The 64 bit machine theoretically supports 2 ^ 64 bytes virtual memory space but on x86 only 48 out of 64 address buses are used. So we cannot assume the upper limit of physical space.on different platforms. <div>And Nick you&#39;re confusing with the physical and virtual memory. The usage of memory for kernel space is not determined by the ratio. It&#39;s defined by mapping strategy. You first need to know why this 3 to 1 was used. It&#39;s because we cannot map all the physical pages onto the corresponding virtual address since we need to spare some linear space for user program. But on 64 bits platform we have plenty virtual address for the programmer as the physical memory is much much smaller than it. On x86_64 we divide kernel/user space by setting all the first 16 bits with 0 or 1 as the user or kernel space respectfully. So how large would the kernel space be if we could use 48-bit linear space? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 29, 2014 at 8:16 PM, nick <span dir="ltr">&lt;<a href="mailto:xerofoify@gmail.com" target="_blank">xerofoify@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">J.Hwan,<br>
There is a limit as 64 bit can only support 16 extabytes. Greg is right in that there is no real limit<br>
on modern machines because of this. However from my knowledge, system ram is split into a 3 to 1 ratio,<br>
where 75 percent is for user space and the only quarter is for the kernel&#39;s memory. So on my system with<br>
8 GB of ram, the kernel can use up to 25 percent or 2 GB of ram.<br>
Hope this answers your question,<br>
Nick<br>
<div class="HOEnZb"><div class="h5">On 2014-11-29 12:45 PM, Greg KH wrote:<br>
&gt; On Sat, Nov 29, 2014 at 12:25:43AM +0900, J.Hwan Kim wrote:<br>
&gt;&gt; Hi, everyone<br>
&gt;&gt;<br>
&gt;&gt; As far as I know, the kernel memory limit is 1GB in 32bit system.<br>
&gt;&gt; Is it also applicable to 64bit system?<br>
&gt;&gt; What&#39;s the limit of kernel memory in 64bit system?<br>
&gt;<br>
&gt; There is no limit :)<br>
&gt;<br>
&gt; What do you really want to know this for?<br>
&gt;<br>
&gt; greg k-h<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards<br>Chen, Yiqun</div>
</div>