DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th February 2012
Alphalutra1 Alphalutra1 is offline
Port Guard
 
Join Date: Sep 2008
Posts: 29
Thanked 0 Times in 0 Posts
Default OpenBSD switches from pthreads to rthreads by default

Commit message here. There have been a flurry of commits afterwards fixing issues as well! Its been a long-awaited switch; Ted unangst's personal project for many years if I remember correctly!

Last edited by ocicat; 19th February 2012 at 05:13 AM. Reason: fix URL error
Reply With Quote
  #2   (View Single Post)  
Old 19th February 2012
bsdplus bsdplus is offline
Real Name: Alan Cheng
Port Guard
 
Join Date: Jun 2009
Location: Shanghai, China
Posts: 21
Thanked 0 Times in 0 Posts
Default

what does this mean for an average user or sysadmin?

Last edited by bsdplus; 19th February 2012 at 07:37 AM.
Reply With Quote
  #3   (View Single Post)  
Old 19th February 2012
tls tls is offline
Port Guard
 
Join Date: Feb 2012
Posts: 17
Thanked 0 Times in 0 Posts
Default

means all the hard work paid off
Reply With Quote
  #4   (View Single Post)  
Old 19th February 2012
thirdm thirdm is offline
Package Pilot
 
Join Date: May 2009
Posts: 208
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by bsdplus View Post
what does this mean for an average user or sysadmin?
Certain programs from the ports collection may run faster, in particular if you have multiple cpus and the program has multiple threads doing computation, or even if you have a single CPU and the program was designed to do I/O in parallel with computation in a way that depended on the presence of native kernel threads.

http://www.openbsd.org/papers/eurobs...u-rthreads.pdf
http://www.youtube.com/watch?v=hKpljl-kI3I
Reply With Quote
  #5   (View Single Post)  
Old 20th February 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thanks Thirdm !
OpenBSD's full of nice surprises , eventhough the code hacker seemed to underestimate his achievement .. or maybe it was an antiphrasis rather than a litotes .. he said : nothing important .. lol ..
well done ! and yes this truly is : GOOD STUBBORNNESS ..
Reply With Quote
  #6   (View Single Post)  
Old 20th February 2012
bsdplus bsdplus is offline
Real Name: Alan Cheng
Port Guard
 
Join Date: Jun 2009
Location: Shanghai, China
Posts: 21
Thanked 0 Times in 0 Posts
Default

cool. glad to know that. thanks thirdm
Reply With Quote
  #7   (View Single Post)  
Old 20th February 2012
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Quote:
Originally Posted by thirdm View Post
Certain programs from the ports collection may run faster, in particular if you have multiple cpus and the program has multiple threads doing computation, or even if you have a single CPU and the program was designed to do I/O in parallel with computation in a way that depended on the presence of native kernel threads.

http://www.openbsd.org/papers/eurobs...u-rthreads.pdf
http://www.youtube.com/watch?v=hKpljl-kI3I
The video was interesting. Thanks for that!
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 20th February 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,904
Thanked 190 Times in 160 Posts
Default

Posted on ports@ summarizing the fallout of rthreads on any port relying on the function pthread_suspend_np():

http://marc.info/?t=132965146500005&r=1&w=2

Ports such as devel/jdk & lang/mono will currently not work.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is OpenBSD secure by default from ssh users? steamrent OpenBSD Security 2 19th December 2011 09:21 PM
default crontab fbroce OpenBSD Installation and Upgrading 13 13th September 2010 09:20 PM
Security by default bettyblue OpenBSD Security 4 30th May 2010 08:30 PM
Default message coloration cyril OpenBSD Installation and Upgrading 5 6th June 2009 02:13 PM
is default security applied? BFlatMinor OpenBSD Security 7 21st June 2008 03:36 PM


All times are GMT. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick