On May 12, 2012, at 2:39 PM, Tim Caswell wrote:
>> On Fri, May 11, 2012 at 3:05 PM, Jorge <[email protected]> wrote:
>>> On May 11, 2012, at 6:17 PM, Tim Caswell wrote:
>>> 
>>> I was doing that to prevent the fs threads from locking too much.  
>>> Initially I was doing everything concurrent and spent all my time in mutex 
>>> locks.  I'm no expert in threads and filesystem interaction.  I'm sure it 
>>> could have been done better, but I was unable to figure it out at the time.
>> 
>> Were you testing that in OSX or in a Linux ?
> 
> I think it was OSX.  I remember using the system dtrace tool to do the 
> profiling.

write()s are serialized in OSX by these patches:

https://github.com/joyent/node/commit/6aa92d5289996780834ebd5e9317718b3e55408c
https://github.com/joyent/libuv/commit/cbbb254e575422206558672b8de85cc5fef1ed86

The bug doesn't exist in Linux-es.
-- 
Jorge.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to