On Sun, Mar 29, 2020 at 07:04:36PM +0300, Reco wrote: > > afirefox: After using an affected Firefox profile > > Ok, let's breakdown it (left is aboot, right is afirefox). > Here we see about 2Gb of memory consumed: > > MemFree: 32124660 kB / MemFree: 30144704 kB > > Such discrepancy can be attributed, first, […] > > Summing it up, it gives us 668382 kB of discrepancy. > […] > So the big question is - where 650M of memory gone? My money is on > kernel modules. Maybe it's Intel's VideoRAM steal (don't know if AMD do > it the same way). Maybe it's some proprietary kernel module. > > I know no way of accounting memory usage of kernel module, but I can > spot some possible candidates from "lsmod" output.
Thanks. Afaik there are no proprietary kernel modules in the default buster install and I did not install proprietary modules either. BUT I did install proprietary firmware for the devices. First I only installed firmware-amd-graphics as it is necessary for XServer to work. But the same GPU was already present in my previous desktop system. After I noticed the issue with memory I also installed in that order ·firmware-realtek for the ethernet controller (The controller does work without it, possibly not at full speed, but it works fast enough for my connection) ·amd64-microcode for the CPU But this does not seem to have made any difference. Beside these 3 package the only other installed package from non-free is a font-package. Here's the lsmod output (while some programs are running in case that's relevant): Module Size Used by binfmt_misc 24576 1 amdgpu 5373952 26 nls_ascii 16384 1 nls_cp437 20480 1 vfat 20480 1 fat 86016 1 vfat mfd_core 20480 1 amdgpu gpu_sched 40960 1 amdgpu i2c_algo_bit 16384 1 amdgpu ttm 122880 1 amdgpu snd_usb_audio 290816 0 drm_kms_helper 245760 1 amdgpu snd_hda_codec_realtek 126976 1 snd_hda_codec_generic 98304 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_hda_codec_hdmi 73728 1 snd_hda_intel 53248 10 snd_intel_dspcfg 20480 1 snd_hda_intel snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 102400 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_usbmidi_lib 40960 1 snd_usb_audio snd_rawmidi 45056 1 snd_usbmidi_lib snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec snd_pcm 131072 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core snd_timer 45056 2 snd_pcm cec 49152 1 drm_kms_helper snd 102400 29 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi drm 581632 17 gpu_sched,drm_kms_helper,amdgpu,ttm mc 57344 1 snd_usb_audio kvm_amd 114688 0 kvm 806912 1 kvm_amd eeepc_wmi 16384 0 irqbypass 16384 1 kvm asus_wmi 40960 1 eeepc_wmi battery 20480 1 asus_wmi pcspkr 16384 0 sparse_keymap 16384 1 asus_wmi video 53248 1 asus_wmi crct10dif_pclmul 16384 1 crc32_pclmul 16384 0 soundcore 16384 1 snd rfkill 28672 2 asus_wmi ghash_clmulni_intel 16384 0 aesni_intel 368640 0 ccp 106496 1 kvm_amd sp5100_tco 20480 0 glue_helper 16384 1 aesni_intel crypto_simd 16384 1 aesni_intel cryptd 24576 2 crypto_simd,ghash_clmulni_intel evdev 28672 15 k10temp 16384 0 rng_core 16384 1 ccp watchdog 28672 1 sp5100_tco wmi_bmof 16384 0 sg 36864 0 efi_pstore 16384 0 efivars 20480 1 efi_pstore wmi 36864 2 asus_wmi,wmi_bmof acpi_cpufreq 28672 0 button 24576 0 parport_pc 32768 0 ppdev 24576 0 lp 20480 0 parport 61440 3 parport_pc,lp,ppdev efivarfs 16384 1 ip_tables 32768 0 x_tables 53248 1 ip_tables autofs4 53248 2 ext4 770048 3 crc32c_generic 16384 0 crc16 16384 1 ext4 mbcache 16384 1 ext4 jbd2 139264 1 ext4 sd_mod 57344 5 hid_generic 16384 0 usbhid 65536 0 hid 139264 2 usbhid,hid_generic sr_mod 28672 0 cdrom 73728 1 sr_mod ahci 40960 4 libahci 45056 1 ahci xhci_pci 20480 0 crc32c_intel 24576 6 libata 290816 2 libahci,ahci xhci_hcd 290816 1 xhci_pci i2c_piix4 28672 0 nvme 49152 1 r8169 90112 0 realtek 24576 1 scsi_mod 253952 4 sd_mod,libata,sg,sr_mod usbcore 315392 5 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,xhci_pci libphy 135168 2 r8169,realtek nvme_core 110592 3 nvme t10_pi 16384 2 sd_mod,nvme_core