Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On my NixOS computer filtering for the most used:

  10093 libcap.so.2
  49344 libc.so.6
  27555 libdl.so.2
  13296 libffi.so.8
  16112 libgcc_s.so.1
  10086 libgcrypt.so.20
  11352 libglib-2.0.so.0
  10128 libgpg-error.so.0
  13015 liblzma.so.5
  22664 libm.so.6
  11337 libpcre.so.1
  29942 libpthread.so.0
  11036 libresolv.so.2
  19510 librt.so.1
  17287 libz.so.1
  11362 libzstd.so.1
Though, some usages are not the same as others even if they have the same ABI so probably hurting performance a bit. :P


Is that having GCed all but the current generation of packages? Or filtering for a single nixpkgs version some other way?

Even then, I would expect NixOS to do some unsharing of shared libraries, so it would probably be best to use the full path to determine how much each shared object is actually shared.

For example, I have 87 different `libzstd.so.1` in my `/nix/store` right now.


Sorted:

  49344 libc.so.6
  29942 libpthread.so.0
  27555 libdl.so.2
  22664 libm.so.6
  19510 librt.so.1
  17287 libz.so.1
  16112 libgcc_s.so.1
  13296 libffi.so.8
  13015 liblzma.so.5
  11362 libzstd.so.1
  11352 libglib-2.0.so.0
  11337 libpcre.so.1
  11036 libresolv.so.2
  10128 libgpg-error.so.0
  10093 libcap.so.2
  10086 libgcrypt.so.20




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: