On Thu, Jul 7, 2011 at 04:06, mowang da <whooya.xxl@xxxxxxxxx> wrote: > I am trying to use a Ceph kernel client to mount Ceph DFS(/) and > set up a samba server to share the mount point(/mnt/) to Windows 7. > when l write a large file to the shared directory ., I found that: [cpu time spent in kernelspace in the 50-90% range a lot] It's hard to tell just from this information what's really going on. Is this host an OSD, or the one mounting Ceph? Using kclient or cfuse? The host those measurements were taking from is spending an awful lot of time in the kernelspace, which in case of OSD might imply btrfs issues; for kclient I guess either it's just doing a *lot* of work, or you have something like ethernet cards device drivers misbehaving. If this is on an OSD, I would recommend turning off samba and ceph, and benchmarking just the local filesystem (that the osd would be using), to see how it performs. If this is on a client machine, I would recommend verifying that the ethernet driver is able to perform at those rates with minimal CPU use. It's hard to help you much without a lot more information about your setup. -- 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