RSS usage higher on newer fedora releases higher for user-applications compared to 3.11.10-301.fc20.x86_64 release, what might be the reason?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux