NetBSD-Users archive

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

Re: tmux overhead



jlmuir%imca-cat.org@localhost ("J. Lewis Muir") writes:

>version you have installed; maybe it has inefficiencies?  Ted Unangst
>has a blog post at [1] titled "rough idling" where he talks about the
>situation you're seeing in general and also mentions that a number of
>efficiency fixes were made to the tmux in OpenBSD after the OpenBSD 5.8
>release.

The window name is refreshed twice a second:

 19193      1 tmux     1453438853.358587124 __kevent50(0x3, 0x7bc03000, 0, 0x7bc03800, 0x40, 0x7fffc330) = 0

update_time_cache() (in libevent)
{
 19193      1 tmux     1453438853.358604936 __clock_gettime50(0x3, 0x7fffc330) = 0
 19193      1 tmux     1453438853.358613894 __gettimeofday50(0x7fffc340, 0) = 0
}

 19193      1 tmux     1453438853.358643738 __gettimeofday50(0x7fffc2f8, 0) = 0
 19193      1 tmux     1453438853.358655873 __gettimeofday50(0x7fffc300, 0) = 0

gethostname()
{
 19193      1 tmux     1453438853.358713008 __sysctl(0x7fffc208, 0x2, 0x7fffc228, 0x7fffc204, 0, 0) = 0
}

osdep_get_name()
{
 19193      1 tmux     1453438853.359059412 __stat50("/dev/pts/6", 0x7fffc228) = 0
 19193      1 tmux     1453438853.359079933 ioctl(0xb, TIOCGPGRP, 0x7fffc1e4) = 0
       "n<\0\0"
 19193      1 tmux     1453438853.359247015 __sysctl(0x7fffc210, 0x6, 0, 0x7fffc20c, 0, 0) = 0
 19193      1 tmux     1453438853.359288681 mmap(0, 0x400000, 0x3, 0x14001002, 0xffffffff, 0, 0, 0) = 0x7b800000
 19193      1 tmux     1453438853.359530555 __sysctl(0x7fffc210, 0x6, 0x7b800000, 0x7fffc20c, 0, 0) = 0
 19193      1 tmux     1453438853.359604513 munmap(0x7b800000, 0x400000) = 0
}

 19193      1 tmux     1453438853.359838573 __gettimeofday50(0x7bc540e0, 0) = 0
 19193      1 tmux     1453438853.359870032 __clock_gettime50(0x3, 0x7fffc330) = 0
 19193      1 tmux     1453438853.359877896 __gettimeofday50(0x7fffc340, 0) = 0
 19193      1 tmux     1453438853.359885032 __clock_gettime50(0x3, 0x7fffc330) = 0
 19193      1 tmux     1453438853.359892740 __gettimeofday50(0x7fffc340, 0) = 0

netbsd-current got a new version about two weeks ago that should behave better.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index