<?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-2797923531103204252.post4072454656691899523..comments</id><updated>2008-08-30T12:01:19.493+02:00</updated><category term='Python'/><category term='Network'/><category term='Asychrony'/><category term='Riddle'/><category term='Performance'/><category term='Social networks'/><category term='Messaging'/><category term='Django'/><category term='Filesystems'/><category term='Linux'/><category term='Motoman'/><category term='Nmap'/><category term='GoogleAppEngine'/><category term='Security'/><category term='Algorithms'/><category term='Idea'/><category term='Web'/><category term='Erlang'/><title type='text'>Comments on Majek's technical blog: GNU pth instead of pthread: hardcore python tuning...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blogger.popcnt.org/feeds/4072454656691899523/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html'/><author><name>majek</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='33' height='15' src='http://lh4.google.pl/image/majek04/RagGhdfeySI/AAAAAAAAAAg/szGDGQTg8p8/oczy.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2797923531103204252.post-3049788249620092122</id><published>2008-08-30T12:01:00.000+02:00</published><updated>2008-08-30T12:01:00.000+02:00</updated><title type='text'>&amp;gt; I was browsing the Python source to&lt;br&gt;&amp;gt; s...</title><summary type='text'>&amp;gt; I was browsing the Python source to&lt;BR/&gt;&amp;gt; see if system call mapping is &lt;BR/&gt;&amp;gt; enabled, because if it isn&amp;#39;t then&lt;BR/&gt;&amp;gt; any I/O will block the entire&lt;BR/&gt;&amp;gt; process.&lt;BR/&gt;&lt;BR/&gt;I only tried to avoid the futex() overhead. I never really thought about &lt;A HREF="http://www.gnu.org/software/pth/pth-manual.html#system_call_wrapper_facility" REL="nofollow"&gt;wrapping read()&lt;/A&gt;. But it's </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/3049788249620092122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/3049788249620092122'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html?showComment=1220090460000#c3049788249620092122' title=''/><author><name>majek</name><uri>http://www.blogger.com/profile/01251411797162710066</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='33' height='15' src='http://lh4.google.pl/image/majek04/RagGhdfeySI/AAAAAAAAAAg/szGDGQTg8p8/oczy.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html' ref='tag:blogger.com,1999:blog-2797923531103204252.post-4072454656691899523' source='http://www.blogger.com/feeds/2797923531103204252/posts/default/4072454656691899523' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1698535691'/></entry><entry><id>tag:blogger.com,1999:blog-2797923531103204252.post-4191910078742020770</id><published>2008-08-30T04:28:00.000+02:00</published><updated>2008-08-30T04:28:00.000+02:00</updated><title type='text'>So I know this post is old, but I am very intrigue...</title><summary type='text'>So I know this post is old, but I am very intrigued by this idea. Seems like a big win for Python and a very logical choice.&lt;BR/&gt;&lt;BR/&gt;I was browsing the Python source to see if &lt;A HREF="http://www.gnu.org/software/pth/pth-manual.html#system_call_wrapper_facility" REL="nofollow"&gt;system call mapping&lt;/A&gt; is enabled, because if it isn't then any I/O will block the entire process.&lt;BR/&gt;&lt;BR/&gt;It doesn't </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/4191910078742020770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/4191910078742020770'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html?showComment=1220063280000#c4191910078742020770' title=''/><author><name>Phillip</name><uri>http://www.blogger.com/profile/16123869064259434632</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://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html' ref='tag:blogger.com,1999:blog-2797923531103204252.post-4072454656691899523' source='http://www.blogger.com/feeds/2797923531103204252/posts/default/4072454656691899523' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1949183248'/></entry><entry><id>tag:blogger.com,1999:blog-2797923531103204252.post-5239028379096252306</id><published>2007-10-23T18:52:00.000+02:00</published><updated>2007-10-23T18:52:00.000+02:00</updated><title type='text'>Didn't worked for me either.</title><summary type='text'>Didn't worked for me either.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/5239028379096252306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/5239028379096252306'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html?showComment=1193158320000#c5239028379096252306' title=''/><author><name>majek</name><uri>http://www.blogger.com/profile/01251411797162710066</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='33' height='15' src='http://lh4.google.pl/image/majek04/RagGhdfeySI/AAAAAAAAAAg/szGDGQTg8p8/oczy.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html' ref='tag:blogger.com,1999:blog-2797923531103204252.post-4072454656691899523' source='http://www.blogger.com/feeds/2797923531103204252/posts/default/4072454656691899523' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1698535691'/></entry><entry><id>tag:blogger.com,1999:blog-2797923531103204252.post-4216484486536019066</id><published>2007-10-23T17:52:00.000+02:00</published><updated>2007-10-23T17:52:00.000+02:00</updated><title type='text'>LD_PRELOAD didn't worked ;)</title><summary type='text'>LD_PRELOAD didn't worked ;)</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/4216484486536019066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/4216484486536019066'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html?showComment=1193154720000#c4216484486536019066' 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://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html' ref='tag:blogger.com,1999:blog-2797923531103204252.post-4072454656691899523' source='http://www.blogger.com/feeds/2797923531103204252/posts/default/4072454656691899523' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1546825078'/></entry><entry><id>tag:blogger.com,1999:blog-2797923531103204252.post-8627657933273154919</id><published>2007-10-23T14:04:00.000+02:00</published><updated>2007-10-23T14:04:00.000+02:00</updated><title type='text'>you might try something like this:&lt;br&gt;LD_PRELOAD=/...</title><summary type='text'>you might try something like this:&lt;BR/&gt;LD_PRELOAD=/path/to/pth.so ./single_threaded_python_script.py&lt;BR/&gt;Since the api is supposed to be the same, it should be possible to substitute libraries at startup-time</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/8627657933273154919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2797923531103204252/4072454656691899523/comments/default/8627657933273154919'/><link rel='alternate' type='text/html' href='http://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html?showComment=1193141040000#c8627657933273154919' title=''/><author><name>Maciek</name><uri>http://www.blogger.com/profile/03490171570610799479</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://blogger.popcnt.org/2007/10/gnu-pth-instead-of-pthread-hardcore.html' ref='tag:blogger.com,1999:blog-2797923531103204252.post-4072454656691899523' source='http://www.blogger.com/feeds/2797923531103204252/posts/default/4072454656691899523' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-875886314'/></entry></feed>
