Performance research

From CRIU
Revision as of 20:51, 30 January 2014 by Xemul (talk | contribs) (Created page with "Written here are performance issues found == <code>parse_smaps</code> == This guy exploits /proc heavily. For a container with 11 tasks the syscall stats look like 834 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Written here are performance issues found

parse_smaps

This guy exploits /proc heavily. For a container with 11 tasks the syscall stats look like

   834 read
  1451 fstat
  1462 close
  1642 openat

while opens and stats happen on

   193 openat(4, "map-symlink", O_RDONLY) = -1 ENOENT (No such file or directory)
  1438 openat(4, "map-symlink", O_RDONLY) = 5
    11 openat(AT_FDCWD, "/proc/$pid/map_files", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4


Time spent in this routine is about 0.1 seconds on dump.