Re: Are Linux pipes slower than the FreeBSD ones ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, March 5, 2008 - 7:55 am

Nick Piggin a écrit :
Because pipe writer calls write() syscall -> file_update_time() in kernel
while pipe reader calls read() syscall -> touch_atime() in kernel

inode i_mtime, i_ctime, i_atime and i_mutex fields share same cache 
line, so nothing we can improve to avoid cache line ping pong.





--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Are Linux pipes slower than the FreeBSD ones ?, Antipov Dmitry, (Wed Mar 5, 12:46 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, David Miller, (Wed Mar 5, 1:00 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Eric Dumazet, (Wed Mar 5, 2:47 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Andi Kleen, (Wed Mar 5, 3:19 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, David Newall, (Wed Mar 5, 5:12 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 7:20 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Eric Dumazet, (Wed Mar 5, 7:55 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 8:38 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 9:02 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Dmitry Antipov, (Thu Mar 6, 5:11 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Mon Mar 17, 5:53 am)