<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8260739278874294486.post6022649126977734532..comments</id><updated>2011-02-14T21:57:15.403-08:00</updated><category term='meta-prog'/><category term='Python'/><category term='cvs'/><category term='java'/><category term='debugging'/><category term='jdk'/><category term='latex'/><category term='benchmark'/><category term='c'/><category term='beamer'/><category term='meta'/><category term='iphone'/><category term='OpenTSDB'/><category term='Sun'/><category term='TCP'/><category term='iTunes'/><category term='git'/><category term='bibtex'/><category term='Linux'/><category term='mac'/><category term='performance'/><category term='code'/><category term='Android'/><category term='profiling'/><category term='hardware'/><category term='svn'/><category term='MacPorts'/><title type='text'>Comments on Tsuna's blog: How long does it take to make a context switch?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.tsunanet.net/feeds/6022649126977734532/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html'/><author><name>Benoit Sigoure</name><uri>https://profiles.google.com/117435881756559768436</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-2eVJcyL_RNo/AAAAAAAAAAI/AAAAAAAAAAA/GWKq6sXj_VE/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-3626461904127450973</id><published>2011-02-14T21:57:15.403-08:00</published><updated>2011-02-14T21:57:15.403-08:00</updated><title type='text'>pankaj@tux: this article shows that context switch...</title><content type='html'>pankaj@tux: this article shows that context switching takes a lot more time than just a simple user-kernel switch (aka mode switch).  System calls only do a mode switch.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/3626461904127450973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/3626461904127450973'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1297749435403#c3626461904127450973' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-4006339634678357180</id><published>2011-02-14T21:28:26.475-08:00</published><updated>2011-02-14T21:28:26.475-08:00</updated><title type='text'>What should take more time a context switch or a u...</title><content type='html'>What should take more time a context switch or a user-kernel mode switch?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/4006339634678357180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/4006339634678357180'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1297747706475#c4006339634678357180' title=''/><author><name>pankaj@tux</name><uri>http://www.blogger.com/profile/09466735604811747922</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_ZNd3VQh-9Rs/TPDs1oL7GYI/AAAAAAAAAVI/a_FpavBvhWI/S220/e.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1371308477'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-6948828891146768697</id><published>2010-11-29T17:44:51.970-08:00</published><updated>2010-11-29T17:44:51.970-08:00</updated><title type='text'>@James Aguilar: I&amp;#39;m not sure to follow your ca...</title><content type='html'>@James Aguilar: I&amp;#39;m not sure to follow your calculation that leads you to the conclusion that you can&amp;#39;t spend more than 3% of your time context switching.  I have a MySQL database server running on a dual E7220 = 4 actual cores, it&amp;#39;s doing 25k context switches per second, meaning it&amp;#39;s doing on average 25000/4=6250 switches per core per second, if each switch takes 30µs, each core is spending 187500µs = 187ms per second doing context switches, which translates in 18.75% of the CPU cycles being wasted switching.  In practice though, I&amp;#39;m guessing that this DB doesn&amp;#39;t get the full 30µs penalty thanks to shared working set and saved TLB flushes (most of the active threads are part of the same process, so they share the same address space), so we can see 18.75% as the theoretical upper bound of the percentage of CPU cycles wasted to context switching.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/6948828891146768697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/6948828891146768697'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1291081491970#c6948828891146768697' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-8761062859994239894</id><published>2010-11-29T17:44:45.938-08:00</published><updated>2010-11-29T17:44:45.938-08:00</updated><title type='text'>@Anonymous 5 and James Aguilar: async servers are ...</title><content type='html'>@Anonymous 5 and James Aguilar: async servers are more likely to perform better than non-async servers.  YMWV depending on the type of server we&amp;#39;re talking about.  At least not doing context switches saves TLB flushes.  If you design and implement your multi-threaded server appropriately, you can maximize the performance by using dedicated threads per task type and CPU affinity in order to keep the high cache hit rate that boosts performance so much.  Yes it&amp;#39;s more work to implement servers this way, but it&amp;#39;s the price to pay for the best performance.  I changed a server application at StumbleUpon to be fully async non-blocking and I gained from 40% to a full order of magnitude performance boost, depending on the workload.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/8761062859994239894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/8761062859994239894'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1291081485938#c8761062859994239894' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-416535480921986761</id><published>2010-11-29T17:44:36.743-08:00</published><updated>2010-11-29T17:44:36.743-08:00</updated><title type='text'>@Anonymous 4: I left HyperThreading on because tha...</title><content type='html'>@Anonymous 4: I left HyperThreading on because that&amp;#39;s what we use on our servers at StumbleUpon (for a variety of reasons).  The only &amp;quot;true numbers&amp;quot; are the ones that actually matter for your environment.  I know how HT works and the limitations it has, but this isn&amp;#39;t relevant to this post.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/416535480921986761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/416535480921986761'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1291081476743#c416535480921986761' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-7938510149857348521</id><published>2010-11-29T17:44:31.558-08:00</published><updated>2010-11-29T17:44:31.558-08:00</updated><title type='text'>@Anonymous 1: All the tests happened in an x86_64 ...</title><content type='html'>@Anonymous 1: All the tests happened in an x86_64 environment.  I will update the post to reflect this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/7938510149857348521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/7938510149857348521'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1291081471558#c7938510149857348521' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-4003364866092957206</id><published>2010-11-29T17:44:23.407-08:00</published><updated>2010-11-29T17:44:23.407-08:00</updated><title type='text'>@Adrian Cockcroft: I didn&amp;#39;t use lmbench becaus...</title><content type='html'>@Adrian Cockcroft: I didn&amp;#39;t use lmbench because I was wondering how to write such a benchmark in the first place, and you always learn more by building things yourself than by using something already existing.  My little benchmarks aren&amp;#39;t supposed to be alternatives to lmbench, I simply provided the source code so others could unambiguously see how I did the benchmarks and reproduce them.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/4003364866092957206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/4003364866092957206'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1291081463407#c4003364866092957206' title=''/><author><name>tsuna</name><uri>http://www.blogger.com/profile/06114951663056205324</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1995837882'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-548672213998335317</id><published>2010-11-28T11:03:15.112-08:00</published><updated>2010-11-28T11:03:15.112-08:00</updated><title type='text'>Your conclusion about writing servers in async sty...</title><content type='html'>Your conclusion about writing servers in async style versus sync style is not justified by the data. You said yourself that the problem with a context switch is that it trashes your cache. What do you think happens when you submit one async operation and the thread switches to working on another one? Because all the data for the second operation is not in the cache, it has to be faulted in. The effect is the same as the effect of switching to another thread. If data for the second op does not have to be faulted in (i.e. it is already in the cache), then the same would hold for thread-switching and the switch would be inexpensive.&lt;br /&gt;&lt;br /&gt;I can buy that you would not want to have many more CPU-bound threads than hardware threads, but even that conclusion is dubious. If the cost of a context switch is 30 microseconds and the Linux kernel has 1000 time-slices per second, then the most you could be spending on context switches is 30 ms per second, or about three percent of the computer&amp;#39;s power. Maybe through other mechanisms the situation is actually worse than this, but without experimentation it will not be easy to be sure.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/548672213998335317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/548672213998335317'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290970995112#c548672213998335317' title=''/><author><name>James Aguilar</name><uri>http://jaguilar.posterous.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1040265813'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-5457529009256927491</id><published>2010-11-27T19:30:29.456-08:00</published><updated>2010-11-27T19:30:29.456-08:00</updated><title type='text'>An async server still has context switches, and I ...</title><content type='html'>An async server still has context switches, and I mean from a conceptual angle, not a processor angle.  A select server still has to change which data structures it is working on.  During those events you are switching the context and L2 will need to be switched out. &lt;br /&gt;&lt;br /&gt;And don&amp;#39;t forget the other cost, which would be code cleanliness and complexity.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/5457529009256927491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/5457529009256927491'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290915029456#c5457529009256927491' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2098504601'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-2838935621057627787</id><published>2010-11-27T18:27:22.280-08:00</published><updated>2010-11-27T18:27:22.280-08:00</updated><title type='text'>Leaving on HyperThreading does not give a good ind...</title><content type='html'>Leaving on HyperThreading does not give a good indication.  HyperThreading does not have a true doubling of hardware threads.  There is a probability of contention of the same rare resources.  This test should be re-run with HyperThreading disabled to get a look at true numbers.  HyperThreading works best when your issue is total throughput, where lazy workloads can better make use of idle areas of the CPU.  In a contentious environment with latency sensitivity, HT works against predictability and overall performance when measured as lower latency.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/2838935621057627787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/2838935621057627787'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290911242280#c2838935621057627787' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-962403594'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-15963592163763933</id><published>2010-11-27T15:47:31.179-08:00</published><updated>2010-11-27T15:47:31.179-08:00</updated><title type='text'>very interesting blog post, thanks</title><content type='html'>very interesting blog post, thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/15963592163763933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/15963592163763933'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290901651179#c15963592163763933' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-588532420'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-9061632951754659600</id><published>2010-11-27T15:01:12.399-08:00</published><updated>2010-11-27T15:01:12.399-08:00</updated><title type='text'>Benoit,

I sent you an email to the address listed...</title><content type='html'>Benoit,&lt;br /&gt;&lt;br /&gt;I sent you an email to the address listed in your bio. Let me know if you&amp;#39;re interested! Thanks,&lt;br /&gt;&lt;br /&gt;Adam</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/9061632951754659600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/9061632951754659600'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290898872399#c9061632951754659600' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092582418'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-6320852823084004933</id><published>2010-11-27T14:43:27.087-08:00</published><updated>2010-11-27T14:43:27.087-08:00</updated><title type='text'>You don&amp;#39;t appear to mention if you&amp;#39;re test...</title><content type='html'>You don&amp;#39;t appear to mention if you&amp;#39;re testing on a x86 or x86_64 system (as those CPUs can run both).  Syscalls are _much_ faster on x86_64.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/6320852823084004933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/6320852823084004933'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290897807087#c6320852823084004933' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-919950747'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-8230582228875628051</id><published>2010-11-27T14:20:16.331-08:00</published><updated>2010-11-27T14:20:16.331-08:00</updated><title type='text'>Thanks! I&amp;#39;ve always wondered what the performa...</title><content type='html'>Thanks! I&amp;#39;ve always wondered what the performance hit would be in a virtual machine environment.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/8230582228875628051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/8230582228875628051'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290896416331#c8230582228875628051' title=''/><author><name>techinterview</name><uri>http://www.technicalinterviewquestions.net</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-45383777'/></entry><entry><id>tag:blogger.com,1999:blog-8260739278874294486.post-5374509791376216491</id><published>2010-11-27T11:43:51.708-08:00</published><updated>2010-11-27T11:43:51.708-08:00</updated><title type='text'>Context switch timing benchmarks have been around ...</title><content type='html'>Context switch timing benchmarks have been around for a long time, why not run something like lmbench?&lt;br /&gt;http://lmbench.sourceforge.net/cgi-bin/man?keyword=lmbench&amp;amp;section=8</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/5374509791376216491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8260739278874294486/6022649126977734532/comments/default/5374509791376216491'/><link rel='alternate' type='text/html' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html?showComment=1290887031708#c5374509791376216491' title=''/><author><name>Adrian Cockcroft</name><uri>http://www.blogger.com/profile/14695336135416848505</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html' ref='tag:blogger.com,1999:blog-8260739278874294486.post-6022649126977734532' source='http://www.blogger.com/feeds/8260739278874294486/posts/default/6022649126977734532' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1246203150'/></entry></feed>
