All of lore.kernel.org
 help / color / mirror / Atom feed
* Raid10 and page cache
@ 2011-12-06 21:29 Yucong Sun (叶雨飞)
  2011-12-06 22:01 ` Yucong Sun (叶雨飞)
       [not found] ` <CAJygYd16PWfKe8fK-b150N46CEwzBUqJn1N6dfsGR4yyTgGbTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 2 replies; 16+ messages in thread
From: Yucong Sun (叶雨飞) @ 2011-12-06 21:29 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi,

I recently setup raid10 on 4 physical disk and have a iscsi serve it
as a block device, and have been trying to tweak for performance.

First thing I notice that MD seems to rely on page cache to flush
changes to disk,  is there any way to turn that off so changes are
flushed to the disk? like O_FSYNC|O_DIRECT does? The reason I want to
turn it off is to understand the performance difference,  I want to be
sure that page cache is truly acting as a write-back cache, I know one
can tune the dirty_* to control the cache flush, but I want to make
sure that it is actually doing what I think it does.

Then I notice in output of free,  the number in Cache column is very
low, however the Buffer is very high, my question is does Buffer here
serves as a read cache? I couldn't find the answer anywhere else.

My last question is that since MD seems already doing the cache,  what
effect would it have if I want to setup a LO device in front of MD
device, Is there going to be more caching, how is different than just
plain MD device?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-12-08  6:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 21:29 Raid10 and page cache Yucong Sun (叶雨飞)
2011-12-06 22:01 ` Yucong Sun (叶雨飞)
2011-12-06 22:26   ` NeilBrown
2011-12-06 23:13     ` Yucong Sun (叶雨飞)
2011-12-06 23:22       ` Marcus Sorensen
2011-12-07  1:01       ` NeilBrown
2011-12-07  4:04         ` Yucong Sun (叶雨飞)
2011-12-07  4:28           ` NeilBrown
2011-12-07  4:50             ` Yucong Sun (叶雨飞)
2011-12-07  5:10               ` NeilBrown
2011-12-07  6:14                 ` Yucong Sun (叶雨飞)
2011-12-07  9:21                   ` Yucong Sun (叶雨飞)
2011-12-07 23:37                     ` Yucong Sun (叶雨飞)
2011-12-08  0:10                       ` NeilBrown
2011-12-08  6:31                         ` Yucong Sun (叶雨飞)
     [not found] ` <CAJygYd16PWfKe8fK-b150N46CEwzBUqJn1N6dfsGR4yyTgGbTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-06 22:01   ` Yucong Sun (叶雨飞)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.