On Mon, 11/06 11:26, Paolo Bonzini wrote: > On 06/11/2017 11:01, Wanpeng Li wrote: > > 2017-11-06 17:41 GMT+08:00 Paolo Bonzini <pbonz...@redhat.com>: > >> On 06/11/2017 10:11, Wanpeng Li wrote: > >>> Hi all, > >>> > >>> qemu core dump, max_core="unlimited", dump_guest_core=0, kill -11 pid > >>> to generate a qemu core file, the Rss of qemu itself is ~40MB, the > >>> core file is almost ~40MB in centos 6.x, but ~400MB in cents 7.x, any > >>> idea? > >> > >> My suspicion is the memory API, which isn't used in CentOS 6.x. QEMU > >> 2.11 should fix that. > > > > Could you point out the patchset for the fix? > > Between 447b0d0b9ee8a0ac216c3186e0f3c427a1001f0c and > 092aa2fc65b7a35121616aad8f39d47b8f921618.
Not sure how these relate to the core size, but I've tested upstream (ec7a8bf0b8f7dc7288fe8745464ee8217528cc6c) and with dump-guest-core=off the core file is 363M, still significantly larger than rss (~73M). What is bloating the core file? Fam