张伟
2013-Apr-10 13:59 UTC
how to know which the thread of blkback for the blkfront in the domain0
Hi all, I want to use ionice command change the priority of threads of blkback(in domain0) for each corresponding blkfront . However, I do not know how to recognize which is the thread for the corresponding blkfront using ps aux. Anybody can give me some advice? Thanks in advance! _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-Apr-10 14:43 UTC
Re: how to know which the thread of blkback for the blkfront in the domain0
On Wed, 2013-04-10 at 14:59 +0100, 张伟 wrote:> Hi all, > > > I want to use ionice command change the priority of threads of > blkback(in domain0) for each corresponding blkfront . However, I do > not know how to recognize which is the thread for the corresponding > blkfront using ps aux. Anybody can give me some advice? Thanks in > advance!Its should be named according to snprintf(buf, TASK_COMM_LEN, "blkback.%d.%s", blkif->domid, devname); so I'd have thought it would be pretty obvious in ps aux. Ian. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
张伟
2013-Apr-10 14:47 UTC
Re: how to know which the thread of blkback for the blkfront in the domain0
Thank you very much! Just now I have found it, blkbak.vmid.xvda from the ps aux list. 在 2013-04-10 22:43:02,"Ian Campbell" <Ian.Campbell@citrix.com> 写道:>On Wed, 2013-04-10 at 14:59 +0100, 张伟 wrote: >> Hi all, >> >> >> I want to use ionice command change the priority of threads of >> blkback(in domain0) for each corresponding blkfront . However, I do >> not know how to recognize which is the thread for the corresponding >> blkfront using ps aux. Anybody can give me some advice? Thanks in >> advance! > >Its should be named according to > snprintf(buf, TASK_COMM_LEN, "blkback.%d.%s", blkif->domid, devname); >so I'd have thought it would be pretty obvious in ps aux. > >Ian. > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users