Re: Re: vkernel & GSoC, some questions

看板FB_hackers作者時間18年前 (2008/03/21 05:45), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串31/34 (看更多)
>From: Matthew Dillon >To: John Baldwin <jhb@freebsd.org> >:Except that you still need "real" hardware concurrency to see some races and >:that is important for testing. I'd worry about the overhead of any > > Hardware and vkernel/qemu environments exercise different code paths > and different timing mechanics. Certain bugs show up on vkernel's > more readily then on real hardware, while other bugs show up more > readily on real hardware then on vkernel's. I don't think one is When testing multi-threaded code I sometimes insert artificial delays at different strategic locations. This widens any present race windows and makes the related bugs show up every time instead of once in a while. Of course, the resulting code works slower during the tests too :-) -SB _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #17ujhi00 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #17ujhi00 (FB_hackers)