Here it is: By the way, do you use other very interresting tools such as strace? if so could you give me names?
1203096910.892244 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 4994) = 0 1203096922.904300 gettimeofday({1203096922, 904988}, NULL) = 0 1203096922.905867 gettimeofday({1203096922, 906552}, NULL) = 0 1203096922.907449 write(1, "1203096922\n", 111203096922 ) = 11 1203096922.909681 read(3, 0x809e004, 4096) = -1 EAGAIN (Resource temporarily unavailable) 1203096922.911270 gettimeofday({1203096922, 911946}, NULL) = 0 1203096922.912827 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 4994) = 0 1203096934.924538 gettimeofday({1203096934, 924926}, NULL) = 0 1203096934.925477 gettimeofday({1203096934, 925851}, NULL) = 0 1203096934.926400 write(1, "1203096934\n", 111203096934 ) = 11 1203096934.927673 read(3, 0x809e004, 4096) = -1 EAGAIN (Resource temporarily unavailable) 1203096934.928613 gettimeofday({1203096934, 928937}, NULL) = 0 1203096934.929524 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 4996) = 0 1203096946.929030 gettimeofday({1203096946, 929420}, NULL) = 0 1203096946.929968 gettimeofday({1203096946, 930339}, NULL) = 0 1203096946.930882 write(1, "1203096946\n", 111203096946 ) = 11 1203096946.932147 read(3, 0x809e004, 4096) = -1 EAGAIN (Resource temporarily unavailable) 1203096946.933062 gettimeofday({1203096946, 933422}, NULL) = 0 1203096946.933947 poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, 4996) = 0 1203096958.157856 gettimeofday({1203096958, 158538}, NULL) = 0 1203096958.159413 gettimeofday({1203096958, 160094}, NULL) = 0 1203096958.160992 write(1, "1203096958\n", 111203096958 ) = 11 Jeff Dike wrote: > On Thu, Feb 14, 2008 at 11:16:45PM +0100, clowncoder wrote: > >> With strace, when I do nothing on the gtk screen, we get >> what is under, it seems that the poll has a 5000 milli-sec >> timeout, but takes 10 sec to wake. >> > > Can you show that with timestamps (strace -ttt)? > > Jeff > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel