Hi, If it was just reads then the tier daemon won't migrate the files to hot tier. If you create a file or write to a file that file will be made available on the hot tier. On Mon, Jul 31, 2017 at 11:06 AM, Nithya Balachandran <nbalacha at redhat.com> wrote:> Milind and Hari, > > Can you please take a look at this? > > Thanks, > Nithya > > On 31 July 2017 at 05:12, Dmitri Chebotarov <4dimach at gmail.com> wrote: >> >> Hi >> >> I'm looking for an advise on hot tier feature - how can I tell if the hot >> tier is working? >> >> I've attached replicated-distributed hot tier to an EC volume. >> Yet, I don't think it's working, at least I don't see any files directly >> on the bricks (only folder structure). 'Status' command has all 0s and 'In >> progress' for all servers. >> >> ~]# gluster volume tier home status >> Node Promoted files Demoted files Status >> --------- --------- --------- --------- >> localhost 0 0 in progress >> MMR11 0 0 in progress >> MMR08 0 0 in progress >> MMR03 0 0 in progress >> MMR02 0 0 in progress >> MMR07 0 0 in progress >> MMR06 0 0 in progress >> MMR09 0 0 in progress >> MMR12 0 0 in progress >> MMR10 0 0 in progress >> MMR05 0 0 in progress >> MMR04 0 0 in progress >> Tiering Migration Functionality: home: success >> >> >> I have a folder with .yml files (Ansible) on the gluster volume, which as >> I understand is 'cache friendly'. >> No matter how many times I read files, nothing is moved to the hot tier >> bricks. >> >> Thank you. >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-- Regards, Hari Gowtham.
For the tier daemon to migrate the files for read, few performance translators have to be turned off. By default the performance quick-read and io-cache are turned on. You can turn them off so that the files will be migrated for read. On Mon, Jul 31, 2017 at 11:34 AM, Hari Gowtham <hgowtham at redhat.com> wrote:> Hi, > > If it was just reads then the tier daemon won't migrate the files to hot tier. > If you create a file or write to a file that file will be made > available on the hot tier. > > > On Mon, Jul 31, 2017 at 11:06 AM, Nithya Balachandran > <nbalacha at redhat.com> wrote: >> Milind and Hari, >> >> Can you please take a look at this? >> >> Thanks, >> Nithya >> >> On 31 July 2017 at 05:12, Dmitri Chebotarov <4dimach at gmail.com> wrote: >>> >>> Hi >>> >>> I'm looking for an advise on hot tier feature - how can I tell if the hot >>> tier is working? >>> >>> I've attached replicated-distributed hot tier to an EC volume. >>> Yet, I don't think it's working, at least I don't see any files directly >>> on the bricks (only folder structure). 'Status' command has all 0s and 'In >>> progress' for all servers. >>> >>> ~]# gluster volume tier home status >>> Node Promoted files Demoted files Status >>> --------- --------- --------- --------- >>> localhost 0 0 in progress >>> MMR11 0 0 in progress >>> MMR08 0 0 in progress >>> MMR03 0 0 in progress >>> MMR02 0 0 in progress >>> MMR07 0 0 in progress >>> MMR06 0 0 in progress >>> MMR09 0 0 in progress >>> MMR12 0 0 in progress >>> MMR10 0 0 in progress >>> MMR05 0 0 in progress >>> MMR04 0 0 in progress >>> Tiering Migration Functionality: home: success >>> >>> >>> I have a folder with .yml files (Ansible) on the gluster volume, which as >>> I understand is 'cache friendly'. >>> No matter how many times I read files, nothing is moved to the hot tier >>> bricks. >>> >>> Thank you. >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://lists.gluster.org/mailman/listinfo/gluster-users >> >> >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://lists.gluster.org/mailman/listinfo/gluster-users > > > > -- > Regards, > Hari Gowtham.-- Regards, Hari Gowtham.
Hi, Before you try turning off the perf translators can you send us the following, So we will make sure that the other things haven't gone wrong. can you send us the log files for tier (would be better if you attach other logs too), the version of gluster you are using, the client, and the output for: gluster v info gluster v get v1 performance.io-cache gluster v get v1 performance.quick-read Do send us this and then we will let you know what should be done, as reads should also cause promotion On Mon, Jul 31, 2017 at 2:21 PM, Hari Gowtham <hgowtham at redhat.com> wrote:> For the tier daemon to migrate the files for read, few performance > translators have to be turned off. > By default the performance quick-read and io-cache are turned on. You > can turn them off so that > the files will be migrated for read. > > On Mon, Jul 31, 2017 at 11:34 AM, Hari Gowtham <hgowtham at redhat.com> wrote: >> Hi, >> >> If it was just reads then the tier daemon won't migrate the files to hot tier. >> If you create a file or write to a file that file will be made >> available on the hot tier. >> >> >> On Mon, Jul 31, 2017 at 11:06 AM, Nithya Balachandran >> <nbalacha at redhat.com> wrote: >>> Milind and Hari, >>> >>> Can you please take a look at this? >>> >>> Thanks, >>> Nithya >>> >>> On 31 July 2017 at 05:12, Dmitri Chebotarov <4dimach at gmail.com> wrote: >>>> >>>> Hi >>>> >>>> I'm looking for an advise on hot tier feature - how can I tell if the hot >>>> tier is working? >>>> >>>> I've attached replicated-distributed hot tier to an EC volume. >>>> Yet, I don't think it's working, at least I don't see any files directly >>>> on the bricks (only folder structure). 'Status' command has all 0s and 'In >>>> progress' for all servers. >>>> >>>> ~]# gluster volume tier home status >>>> Node Promoted files Demoted files Status >>>> --------- --------- --------- --------- >>>> localhost 0 0 in progress >>>> MMR11 0 0 in progress >>>> MMR08 0 0 in progress >>>> MMR03 0 0 in progress >>>> MMR02 0 0 in progress >>>> MMR07 0 0 in progress >>>> MMR06 0 0 in progress >>>> MMR09 0 0 in progress >>>> MMR12 0 0 in progress >>>> MMR10 0 0 in progress >>>> MMR05 0 0 in progress >>>> MMR04 0 0 in progress >>>> Tiering Migration Functionality: home: success >>>> >>>> >>>> I have a folder with .yml files (Ansible) on the gluster volume, which as >>>> I understand is 'cache friendly'. >>>> No matter how many times I read files, nothing is moved to the hot tier >>>> bricks. >>>> >>>> Thank you. >>>> >>>> _______________________________________________ >>>> Gluster-users mailing list >>>> Gluster-users at gluster.org >>>> http://lists.gluster.org/mailman/listinfo/gluster-users >>> >>> >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://lists.gluster.org/mailman/listinfo/gluster-users >> >> >> >> -- >> Regards, >> Hari Gowtham. > > > > -- > Regards, > Hari Gowtham.-- Regards, Hari Gowtham.