Mailinglist Archive: opensuse (1470 mails)

< Previous Next >
Re: [opensuse] experiences with bache / logic of caching
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 18 Feb 2016 12:19:18 +0100
  • Message-id: <na49bm$tnm$1@saturn.local.net>
Andrei Borzenkov wrote:

17.02.2016 20:08, Per Jessen пишет:
The purpose of O_DIRECT is to move the cache handling from kernel
space to userspace. Does ietd not implement a cache in user space?

Almost certainly not - that would somewhat negate the idea of using
direct IO.

Not at all. Direct IO is used to avoid double buffering (which in some
cases can result in significant slow down) and give application full
control over when it flushes data to disk. It does not mean application
should refrain from caching.

Agree, but ietd is not the application, only the iscsi target server. ietd
uses hardly any memory at all.


/Per

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >