在连接到VPN时在gnome下启动GUI应用程序时的性能问题

我遇到严重的性能问题启动应用程序,但只有当连接到我的办公室VPN。 它似乎与gnome-session有关。

我相信以下是简单启动gnome-terminal (但是对于我尝试过的所有应用程序来说,这是相似的)。 如果我理解了这个痕迹,我所包含的最后一行显示需要20秒才能读取/tmp/.ICE-unix/4108 。 如果我是正确的,我怎样才能确定为什么要这么久?

$ grep -v -B 1000 '^\ *0' terminal.trc | egrep 'open|\(10'

  0.000103 connect(10, {sa_family=AF_FILE, path="/tmp/.ICE-unix/4108"...}, 21) = 0 0.000134 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0 0.000023 write(10, "\0\1\0\0\0\0\0\0", 8) = 8 0.000051 read(10, "\0\1\0\0\0\0\0\0", 8) = 8 0.000020 write(10, "\0\2\1\1\6\0\0\0\0\0\0\0\0\0\0\0\3\0MIT\0\0\0\3\0001.0\0\0\0"..., 56) = 56 0.000085 read(10, "\0\3\0\0\1\0\0\0", 8) = 8 0.000037 read(10, "\0\0\0\0\0\0\0\0", 8) = 8 0.000021 write(10, "\0\4\1\1\3\0\0\0\20\0\0\0\0\0\0\0\241%\240.\370\304tl\211\347\343\27\216\0\247\343", 32) = 32 0.000056 read(10, "\0\6\0\0\2\0\0\0", 8) = 8 0.000024 read(10, "\3\0MIT\0\0\0\3\0001.0\0\0\0", 16) = 16 0.000027 fcntl64(10, F_GETFD) = 0x1 (flags FD_CLOEXEC) 0.000018 fcntl64(10, F_SETFD, FD_CLOEXEC) = 0 0.000019 fstat64(10, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 0.000037 fcntl64(10, F_GETFL) = 0x2 (flags O_RDWR) 0.000021 write(10, "\0\7\1\0\7\0\0\0\1\1\0\0\0\0\0\0\4\0XSMPtl\3\0MIT\0\247\343"..., 64) = 64 0.000051 read(10, "\0\3\0\0\1\0\0\0", 8) = 8 0.000022 read(10, "\0\0MIT\0\0\0", 8) = 8 0.000020 write(10, "\0\4\1\0\3\0\0\0\20\0\0\0\0\0\0\0\241%\240.\370\304tl\211\347\343\27\216\0\247\343", 32) = 32 0.000099 read(10, "\0\10\0\1\3\0\0\0", 8) = 8 0.000046 read(10, "\7\0GnomeSM\0001.\6\0002.16.0\0\0\0\0", 24) = 24 0.000035 write(10, "\1\1\1\0\1\0\0\0\0\0\0\0\0\0\0\0", 16) = 16 0.000369 read(10, "\1\2\0\1\6\0\0\0", 8) = 8 20.935982 read(10, "%\0\0\0001075ba94be000127498096700000"..., 48) = 48 

$ uname -a

 Linux vm 2.6.18-194.3.1.0.2.el5 #1 SMP Wed May 26 10:20:56 EDT 2010 i686 i686 i386 GNU/Linux 

$ gnome-session --version

 Gnome gnome-session 2.16.0 

谢谢

你开始的应用程序是本地的?

如果是这样,我敢打赌,当你连接到办公室VPN它修改你的名字服务器。 我敢打赌,他们正在查找本地知识产权,这是拖延你。