Re: workload balance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/6/30 Josh Durgin <josh.durgin@xxxxxxxxxxxxx>
>
> On 06/27/2011 05:25 PM, huang jun wrote:
> > thanks,Josh
> > By default,we set two replicas for each PG,so if we use ceph
> > as back-end storage of a website, you know, some files will be frequently read,
> > if then of thousands clients do this, some osd's workload will be very high.
> > so in this circumstance, how to balance the whole  cluster's workload?
>
> If the files don't change often, they can be cached by the clients. If
> there really is one object that is being updated and read frequently,
> there's not much you can do currently. To reduce the load on the primary
> OSD, we could add a flag to the MDS to tell clients to read from
> replicas based on the usage.


If a particular file is updated heavily, if we can change the inode
number of the heavily updated file, then the objects will be remapped
to new locations and can result in balancing.
Will that be a good solution to implement?

>
> Josh
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux