Re: set mds message priority to MSG_PRIO_HIGH

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

 



On Sat, Oct 19, 2013 at 8:58 PM, hjwsm1989-gmail <hjwsm1989@xxxxxxxxx> wrote:
> Hi,
> I'm testing ceph with samba.
> I have 20 OSD nodes on 4 hosts
> dy01:1MON, 5 OSDs, 1 samba server
> dy02: 1MDS, 5OSDs, 1 samba server
> dy03: 5 OSDs, 1 samba server
> dy04:5 OSDs, 1 samba server
> every samba server exports the ceph kclient mount point.
>
> When I set 3 samba clients connect to a samba server(dy01), and each write a
> single 18GB file, gets 110MB/s speed each.
> But when I use 4 clients, the cluster will report 'slow request' msg, and
> this time I list files in samba client dir, it gets stuck.
> And the test tool reports frame losing.
> For the list operation related to MDS, I think the MDS op messages should
> have higher priority than clients op.
> Have I understood correctly?

Hi,

I think you are right, the MDS needs higher priority. could you modify
the mds code
and re-test.

In src/ceph_mds.cc, add
"messenger->set_default_send_priority(CEPH_MSG_PRIO_HIGH);"
after
"messenger->set_cluster_protocol(CEPH_MDS_PROTOCOL);"

Regards
Yan, Zheng
>
> thanks
>
>
> --
> 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