Can anyone explain why Swift doesn't want to utilize page cache _at all_?<br><br><div class="gmail_quote">On Wed, Dec 14, 2011 at 12:32 PM, Michael Barton <span dir="ltr"><<a href="mailto:mike-launchpad@weirdlooking.com">mike-launchpad@weirdlooking.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I can't explain it off the top of my head.<br>
<br>
I don't have a swift installation to play with at the moment, but it's<br>
conceivable that posix_fadvise is slower than we expect (drop_cache is<br>
called more frequently during reads than writes, iirc).  That could be<br>
tested by making drop_cache a no-op in the object server.<br>
<br>
Or running the object server under a profiler during both operations<br>
might shed some light on what is taking so much time.<br>
<br>
--Mike<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Mon, Dec 12, 2011 at 8:44 AM, Zhenhua (Gerald) Guo <<a href="mailto:jenvor@gmail.com">jenvor@gmail.com</a>> wrote:<br>
> Hi, folks<br>
>  Recently, I have run some read/write tests for large files (400GB)<br>
> in Swift.  I found that writes were always faster than reads, which is<br>
> kinda counter-intuitive. What may be the cause?<br>
>  Has anyone else seen the same problem?<br>
><br>
> Gerald<br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Huang Zhiteng<br>