Please create an account to participate in the Slashdot moderation system


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:Exactly (Score 1) 830

by pc486 (#27157967) Attached to: Apps That Rely On Ext3's Commit Interval May Lose Data In Ext4

Lots of small files isn't bad on its own. In fact, it's downright common. Ext4's design does consider this case and makes these operations efficient.

The problem with small files is data consistency. If the application requires a file hierarchy and associated buffers to be on disk before continuing, then a call to fsync() is required (even on ext3). Implicitly syncing on every small file will kill performance, so don't do that.

Comment: Re:Bull (Score 5, Informative) 830

by pc486 (#27157841) Attached to: Apps That Rely On Ext3's Commit Interval May Lose Data In Ext4

Ext3 doesn't write out immediately either. If the system crashes within the commit interval, you'll lose whatever data was written during that interval. That's only 5 seconds of data if you're lucky, much more data if you're unlucky. Ext4 simply made that commit interval and backend behavior different than what applications were expecting.

All modern fs drivers, including ext3 and NTFS, do not write immediately to disk. If they did then system performance would really slow down to almost unbearable speeds (only about 100 syncs/sec on standard consumer magnetic drives). And sometimes the sync call will not occur since some hardware fakes syncs (RAID controllers often do this).

POSIX doesn't define flushing behavior when writing and closing files. If your applications needs data to be in NV memory, use fsync. If it doesn't care, good. If it does care and it doesn't sync, it's a bad application and is flawed, plain and simple.


+ - Radiohead Calls comScore Data "Wholly Inaccura

Submitted by Anonymous Coward
An anonymous reader writes "Tuesday comScore caused a stir when it said its research on the sales of Radiohead's In Rainbows showed that only 38% of downloaders paid for it. Way off, says the band in a press release issued today:

"In response to purely speculative figures announced in the press regarding the number of downloads and the price paid for the album, the group's representatives would like to remind people that, as the album could only be downloaded from the band's website, it is impossible for outside organisations to have accurate figures on sales...The figures quoted by the company comScore Inc are wholly inaccurate and in no way reflect definitive market intelligence or, indeed, the true success of the project."

The band, naturally, didn't offer any data of its own to offset comScores, but then it's probably good for business to keep everyone guessing."

Real Users find the one combination of bizarre input values that shuts down the system for days.