Re: HyperThreading

看板DFBSD_kernel作者時間15年前 (2011/02/18 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/16 (看更多)
--00221504879b4435c5049c8362eb Content-Type: text/plain; charset=ISO-8859-1 Thomas, Thanks a lot for your response. I did build a custom kernel and ran the benchmarks again. The results are very promising, I did use the same settings as mentioned here<http://people.freebsd.org/~kris/scaling/dfly.html>. DFBSD is catching up with free bsd, although it is a little bit behind. My only concern is that when there is 1 or 2 threads running DFBSD is far behind FBSD, but when it gets to 3 thread running the performance boosts up and beyond that it stays close to FBSD, is there any explanation for that !? What kind of machines are not supported for SMP !? I am just about to run some benchmarks on a 12 core 64 bit machine, it would be nice to know if it is not supported before I start. Btw, Do you guys have any specific benchmark in mind that might worth trying ?! Cheers, Saman http://cs.uwaterloo.ca/~sbarghi On Thu, Feb 17, 2011 at 2:44 PM, Thomas Nikolajsen < thomas.nikolajsen@mail.dk> wrote: > >Since I moved from FreeBSD I make assumptions, I thought it is enabled by > default which seems not to be case. > Well, you just did test which didn't show multithread speedup, this is > indicates UP also. > 'sysctl hw.ncpu' will show number of avail. CPUs (like in FreeBSD). > > >I will build a custom kernel then (or is there a better way !? ) > You will have to build a kernel; see build7) man page > (like in FreeBSD; major difference is we use /sys/config for KERNCONFs). > > >But my question is, why UP is proffered over SMP ?! is there any specific > reason !? > DragonFly SMP kernel doesn't yet run on all systems. > > >Does DFBSD perform better in UP rather than SMP mode ?! > On UP system (ncpu=1), I don't think you will notice difference in > performance > between UP kernel and SMP kernel (I don't notice it at least); > DragonFly SMP performance is rather good, also on UP systems; > I didn't see benchmarks recently (lots of development is going on in this > area); > you are very welcome to do benchmarks and publish results; Please include > current master. > > >I just read that UP is the default mode forever ( > http://www.shiningsilence.com/dbsdlog/2010/10/26/6670.html), > >it is interesting to know the reason though. > As noted above SMP kernel won't run on all systems yet. > > -thomas > > --00221504879b4435c5049c8362eb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Thomas,=A0<div><br></div><div>Thanks a lot for your respon= se. I did build a custom kernel and ran the benchmarks again. The results a= re very promising, I did use the same settings as mentioned <a href=3D"http= ://people.freebsd.org/~kris/scaling/dfly.html">here</a>. DFBSD is catching = up with free bsd, =A0although it is a little bit behind. My only concern is= that when there is 1 or 2 threads running DFBSD is far behind FBSD, but wh= en it gets to 3 thread running the performance boosts up and beyond that it= stays close to FBSD, is there any explanation for that !?=A0</div> <div><br></div><div>What kind of machines are not supported for SMP !? I am= just about to run some benchmarks on a 12 core 64 bit machine, it would be= nice to know if it is not supported before I start.=A0</div><div><br></div= > <div>Btw, Do you guys have any specific benchmark in mind that might worth = trying ?!=A0</div><div><br></div><div>Cheers,</div><div>Saman</div><div><a = href=3D"http://cs.uwaterloo.ca/~sbarghihttp://cs.uwaterloo.ca/~sbarghi">http://cs.uwaterloo.ca/~sbarghi</a= >=A0</div> <div><br></div><div><div class=3D"gmail_quote">On Thu, Feb 17, 2011 at 2:44= PM, Thomas Nikolajsen <span dir=3D"ltr">&lt;<a href=3D"mailto:thomas.nikol= ajsen@mail.dk" target=3D"_blank">thomas.nikolajsen@mail.dk</a>&gt;</span> w= rote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-= left:1px solid rgb(204, 204, 204);padding-left:1ex"><div>&gt;Since I moved = from FreeBSD I make assumptions, I thought it is enabled by default which s= eems not to be case.<br> </div>Well, you just did test which didn&#39;t show multithread speedup, th= is is indicates UP also.<br> &#39;sysctl hw.ncpu&#39; will show number of avail. CPUs (like in FreeBSD).= <br> <div><br> &gt;I will build a custom kernel then (or is there a better way !? )<br> </div>You will have to build a kernel; see build7) man page<br> (like in FreeBSD; major difference is we use /sys/config for KERNCONFs).<br= > <div><br> &gt;But my question is, why UP is proffered over SMP ?! is there any specif= ic reason !?<br> </div>DragonFly SMP kernel doesn&#39;t yet run on all systems.<br> <div><br> &gt;Does DFBSD perform better in UP rather than SMP mode ?!<br> </div>On UP system =A0(ncpu=3D1), I don&#39;t think you will notice differe= nce in performance<br> between UP kernel and SMP kernel (I don&#39;t notice it at least);<br> DragonFly SMP performance is rather good, also on UP systems;<br> I didn&#39;t see benchmarks recently (lots of development is going on in th= is area);<br> you are very welcome to do benchmarks and publish results; Please include c= urrent master.<br> <div><br> &gt;I just read that UP is the default mode forever (<a href=3D"http://www.= shiningsilence.com/dbsdlog/2010/10/26/6670.html" target=3D"_blank">http://w= ww.shiningsilence.com/dbsdlog/2010/10/26/6670.html</a>),<br> &gt;it is interesting to know the reason though.<br> </div>As noted above SMP kernel won&#39;t run on all systems yet.<br> <font color=3D"#888888"><br> =A0-thomas<br> <br> </font></blockquote></div><br></div></div> --00221504879b4435c5049c8362eb--
文章代碼(AID): #1DNRu95S (DFBSD_kernel)
文章代碼(AID): #1DNRu95S (DFBSD_kernel)