[Gluster-users] Fwd: Very slow performance when enabling tierd storage with SSD

Benjamin Kingston list at nexusnebula.net
Thu Sep 8 07:51:58 UTC 2016


Thanks for looking into this as well Milind! Please see details below:

On Tue, Sep 6, 2016 at 9:17 AM, Milind Changire <mchangir at redhat.com> wrote:

> Benjamin,
> There are three issues of interest:
> 1. Since the hot tier reached 90% of its capacity, the nature and
>    frequency of accesses of files are important
>    Aggressive file accesses will cause a flood of promotions, although
>    sequentially, hampering performance.
>    Abstaining from access for a configured period will also cause a
>    flood of sequential demotions to make space for hot files, hampering
>    performance.

The performance issues I'm experiencing occur /immediately/ after enabling
the hot tier, before any promotions have occured. Detaching the hot brick
doesnot resolve the issue, even after all data has migrated to cold bricks.
it is only after the tier remove is committed that performance returns to
standard HDD results 150MB/s, ~100-200IOPS.

 I have the impression that the tiering will allow files to be written to
the SSD (created) or promoted frequently accessed/modified. The
documentation I've read indicates an upper threshold of 90% and a lower of
75% is the default which I've confirmed in my current volume.


> 2. Looks like part of the SSD is not used for the hot tier
>    What type of IO was active on the non-hot tier part of the SSD while
>    files were being accessed on the hot tier?
>

the remaining 10% is a default setting of the glusterfs hot-tier if I
understand correctly. The SSD is partially serving a facebook flashcache
volume for VM storage, however the IO is light with only 2-3 VMs. I don't
this issue is a factor due to the performance (1000's of IOPS, 500MB/s) of
the brick itself with gluster out of the equation.

>
> 3. What are the values of the promotion and demotion counters reported?

The values have been left at the defaults
 http://blog.gluster.org/2016/03/automated-tiering-in-gluster/

Thanks!

>
>
> Milind
>
> On 09/04/2016 10:10 PM, Benjamin Kingston wrote:
>
>> Thanks for the help, see below:
>>
>> On Sat, Sep 3, 2016 at 11:41 AM, Mohammed Rafi K C <rkavunga at redhat.com
>> <mailto:rkavunga at redhat.com>> wrote:
>>
>>     Files created before attaching hot tier will be present on hot brick
>>     until it gets heated and migrated completely. During this time
>>     interval we won't get the benefit of hot storage since the files are
>>     served from cold brick.
>>
>> The issue I'm having is that when the hot tier is added read from the
>> volume drops from 150MB/s (no tier) to 2-10MB/s (tier added). I
>> experienced this issue for a while even after the hot brick reached 90%
>> capacity, so many files were promoted.
>> I detached the hotbrick and verified there weren't any files left over,
>> and the performance was still effected.
>> It was only until I committed the detach that throughput returned to
>> 150MB/s.
>>
>> Reattaching the hot tier immediately caused the issue to return until
>> the tier was again detach-committed
>>
>>
>>
>>     For smallfiles (order of kbs), We are experiencing some performance
>>     issue mostly with  EC (disperse ) volume.
>>
>>     Follow up questions,
>>     What is the volume type ? and version of glusterfs ?
>>
>> The volume is a 2x replica on btrfs bricks that are luks encrypted.
>> 2048K GPT offset for 1st partition . Gluster 3.8.3, built aug 22 running
>> on Centos.
>>
>>
>>     Does reread gives an equal performance when it hits the server ?
>>     reading any files with hot tier results in 2-10MB/s (node mounted
>>     volume via localhost6:/volume), reading them again any number of
>>     times does not improve performance
>>
>>
>>
>>     Have you done any rename for those files ?
>>
>> Some files have been renamed, however the 10GB test file has not it is
>> the original name/copy
>>
>>
>>
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://www.gluster.org/mailman/listinfo/gluster-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160908/eeed4e7e/attachment.html>


More information about the Gluster-users mailing list