So, We were trying to move to Fedora 33  from Centos7  for our jvm and then we  
found the memory consumption to be higher than Centos7. 

we did the following:

Step :1 Narrow the problem with a simple c-code

#include<unistd.h>

int main()

{
pause();
return 0;
}

Running this c-program  on Fedora 33 yields 660 KB .  While on centos7, it only 
takes  348 KB, 

Step 2: 

Narrow down the kernel versions . 

So, we tried testing different fedora VMs that we had and one of the VMs was 
running fedora 20. We were able to boot 

1. kernel-3.11.10-301.fc20.x86_64 

2. kernel-3.17.4-200.fc20.x86_64 



With kernel-3.11, pmap tells the RSS was only 388KB . Screenshot of pmap here: 
(https://ibb.co/D5zTXvs) 

while on kernel-3.17 its 920KB (https://ibb.co/vLByKkD) . 

From the pmap mappings, we see both the binaries are using the same glibc and 
ld.so etc.  So, this seems like nothing has changed on the user-land while the 
RSS measurement has more than doubled. 

Could somehow have an idea on what else could explain the reason for his memory 
increase? This seems like something has changed from the kernel side in terms 
of how RSS was measured or the defaults have changed? 


Regards,
-Anand
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to