Re: run-queue length question

看板FB_hackers作者時間11年前 (2014/07/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
> It is the Linux which follows the traditional definition of the load, > by counting running, ready to run and 'blocked on the fast i/o' processes > as adding to the load average. Also, I remember that FreeBSD up to 4.x > followed this definition. If I understood right, the classic example follows Solaris SunOS 2.x until Solaris 10 where rq does not include any iowait processes. Hmmm... for sure Solaris 7,8,9 were talking rq with no iowait. I dont remember now about Solaris 10 but I think it does not add iowait to the rq. And if I recall right Linux 2.4 had similar behaviour as Solaris. I dont recall FreeBSD but I recall sometime back there was no load average metric into kernel. I need to read src code for it. > Sometime during the 5.x rewrites the load was redefined to only count > running + ready to run threads, which is the current definition, used by LA. I see. Well Im happy today at least to see FreeBSD having a proper definition for rq comparative to Linux. Gunther [1] explains in details why rq does include running and runnable only, very well. Thanks a lot [1] - Analyzing Computer System Performance with Perl::PDQ 2nd edition http://www.perfdynamics.com/books.html -- Stefan Parvu <sparvu@systemdatarecorder.org> _______________________________________________ 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): #1JkOxVc2 (FB_hackers)
文章代碼(AID): #1JkOxVc2 (FB_hackers)