Penguin

Differences between version 20 and predecessor to the previous major change of MacOSX.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 20 Last edited on Sunday, September 4, 2005 7:19:35 am by IanMcDonald Revert
Older page: version 19 Last edited on Sunday, September 4, 2005 7:11:06 am by IanMcDonald Revert
@@ -13,13 +13,13 @@
 ''I have seen articles which state that it is due to the time to create a new thread and demonstrated it through simple C programs. Can't find the article at present but find plenty of references saying [MySQL] and [Apache] are painfully slow -- IanMcDonald'' 
  
 ''AFAIK It only applied to pthreads. Every app written in Carbon or Cocoa (ie, every single GUI app on OSX) uses NSThreads which doesn't seem to be painfully slow from actually using MacOSX. Incidentally, my 1.4Ghz Mac Mini kicks the crap out of my Celeron 1.1GHz PC when benchmarking MySQL, which other benchmarks would have you believe that's not possible, so it can't be _that_ bad :P. Also, some have attributed the slowness in MySQL to the fact that InnoDB uses fcntl() to guarantee data has been written to disk instead of fsync(). See http://lists.apple.com/archives/darwin-dev/2005/Feb/msg00072.html -- PhilMurray'' 
  
-''Found the article at http://www.anandtech.com/mac/showdoc.aspx?i=2436&p=8 - it says in particular "Mac OS X is incredibly slow, between 2 and 5(!) times slower, in creating new threads, as it doesn't use kernel threads, and has to go through extra layers (wrappers). No need to continue our search: the G5 might not be the fastest integer CPU on earth - its database performance is completely crippled by an asthmatic operating system that needs up to 5 times more time to handle and create threads." -- IanMcDonald'' 
+''Found the article at http://www.anandtech.com/mac/showdoc.aspx?i=2436&p=8 - it says in particular "Mac OS X is incredibly slow, between 2 and 5(!) times slower, in creating new threads, as it doesn't use kernel threads, and has to go through extra layers (wrappers). No need to continue our search: the G5 might not be the fastest integer CPU on earth - its database performance is completely crippled by an asthmatic operating system that needs up to 5 times more time to handle and create threads." He then follows up in a subsequent article and clarifies here why it is not quite correct but peformance is still bad http://www.anandtech.com/mac/showdoc.aspx?i=2520&p=7 -- IanMcDonald'' 
  
 Note: the Ⅹ in [MacOSX] has nothing to do with the X windowing system, it is the roman numeral for 10, which follows on from the previous version [MacOS] 9. 
  
 ! See also: 
 * [The history of MacOS X, and what exactly it is | http://www.kernelthread.com/mac/osx/] 
  
 ----- 
 Part of CategoryOperatingSystem