We (i.e. I together with my colleague Jason Wang, cc'ed) installed the latest stable kernel (3.7.1) and verified that the bug still occurs. The bug occurs when testing the program across a network link and when testing on the loopback interface. We also noticed that when testing across the network, the hardware irq affinity settings (in the /proc/irq/ files) affect how frequently the bug occurs. When we use the default irq settings, the bug does not seem to occur, whereas when we use settings suggested by Intel (with script set_irq_affinity.sh) the bug occurs more frequently. Cheers, Andi On Dec 18, 2012, at 12:27 PM, Andreas Voellmy <andreas.voellmy@xxxxxxxx> wrote: > BTW, I simplified the test program a bit: I removed the loop that epoll_waits on the eventfd fd and reads from it (I also removed the epoll instance in that loop). The bug still occurs with this removed. Now the bug is triggered simply by adding the call to eventfd_write after processing each request. > > I pushed the update to my github project for the test program. > > -Andi > > On Dec 17, 2012, at 9:35 PM, Andreas Voellmy <andreas.voellmy@xxxxxxxx> wrote: > >> >> On Dec 17, 2012, at 9:07 PM, Eric Wong <normalperson@xxxxxxxx> wrote: >> >>> Andreas Voellmy <andreas.voellmy@xxxxxxxx> wrote: >>>> There were a couple of errors in the code when I posted my last >>>> message. I have fixed those. The epoll bug still occurs. >>> >>> Sorry I haven't gotten around to this. >>> >>> Can you reproduce this with fewer cores? (I only have 4 at most). >> >> I've been able to reproduce it on as few as 8 cores. I've never seen it occur with fewer than that. >> >>> Have you tried the latest stable kernel version? >> >> No, I've only tried 3.4.0.0. >> >>> >>> Can you reproduce this over TCP loopback, or only across two machines? >>> If the latter, it could also be a driver or firmware bug... >> >> Yes, it also occurs when I run the http request generator on the same machine on the loopback interface. >> >> -Andi > -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html