Tuesday, 24 June 2014

Re: Disc cache worth it?

On Tue, Jun 24, 2014 at 06:36:18PM +0100, Chris Young wrote:
>
> It would be interesting to see if a Raspberry Pi running the GTK
> version from SD card has the same slowness.

Assuming you were running it on one of the flavours of UNIX available
for it (Linux, NetBSD), then no.

These operating systems receive the write requests from applications and
queue them for writing to underlying block devices in the background,
while other apps sit there waiting for input or idling. Under RISC OS,
file system writes stop /everthing/ until they complete.

(Under UNIX, applications should call the fdatasync() function when the
data stored to disc is in a consistent/useful state, which guarentees
the data has reached backing store, but then they also have pre-emptive
multitasking so you can still use your computer when this happens.)

B.

No comments:

Post a Comment