python-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Python-Dev] Ext4 data loss Antoine Pitrou Thu Mar 12 04:00:41 2009

Nick Coghlan <ncoghlan <at> gmail.com> writes:
> 
> On the performance side... the overhead from fsync() itself is going to
> dwarf the CPU overhead of going through a wrapper class.

The significant overhead is not in calling sync() or flush() or close(), but in
calling methods which are supposed to be fast (read() from internal buffer or
write() to internal buffer, for example).


_______________________________________________
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/alexiscircle%40gmail.com