List Info

Thread: Re: soc zfs: taskqueue / workqueue




Re: soc zfs: taskqueue / workqueue
country flaguser name
Japan
2007-07-11 00:12:48
> Daniel Carosone <dangeek.com.au> wrote:
> > As well as the instance examples from freebsd,
we've talked before
> > about per-cpu workqueues each with a cpu-bound lwp
processing jobs
> > from it, for running things like est frequency
changes.
> > 
> > If you wanted to run something on all cpu's, you
could either insert a
> > task on all those queues, or arrange for the task
to run on the first,
> > and add itself to the next cpu's workqueue each
time, depending on the
> > nature of what you wanted to run.
> Since kthreads could be per-CPU, workqueue(9) interface
could be adopted too.
> I am not sure about having some per-CPU kthreads
(created at mi_cpu_attach())
> as general worker-threads - would this be reasonable?
> 
> http://ww
w.netbsd.org/~rmind/workqueue.diff  (not tested)
> Comments?
> 
> -- 
> Best regards,
> Mindaugas
> www.NetBSD.org

Trying 204.152.190.12...
Requesting http://ww
w.netbsd.org/~rmind/workqueue.diff
ftp: Error retrieving file - `404 Not Found'

YAMAMOTO Takashi

Re: soc zfs: taskqueue / workqueue
user name
2007-07-11 04:14:57
2007/7/11, YAMAMOTO Takashi <yamtmwd.biglobe.ne.jp>:
> > Daniel Carosone <dangeek.com.au> wrote:
> > > As well as the instance examples from
freebsd, we've talked before
> > > about per-cpu workqueues each with a
cpu-bound lwp processing jobs
> > > from it, for running things like est
frequency changes.
> > >
> > > If you wanted to run something on all cpu's,
you could either insert a
> > > task on all those queues, or arrange for the
task to run on the first,
> > > and add itself to the next cpu's workqueue
each time, depending on the
> > > nature of what you wanted to run.
> > Since kthreads could be per-CPU, workqueue(9)
interface could be adopted too.
> > I am not sure about having some per-CPU kthreads
(created at mi_cpu_attach())
> > as general worker-threads - would this be
reasonable?
> >
> > http://ww
w.netbsd.org/~rmind/workqueue.diff  (not tested)
> > Comments?
> >
> > --
> > Best regards,
> > Mindaugas
> > www.NetBSD.org
>
> Trying 204.152.190.12...
> Requesting http://ww
w.netbsd.org/~rmind/workqueue.diff
> ftp: Error retrieving file - `404 Not Found'
>
> YAMAMOTO Takashi
>
Try http://
www.netbsd.org/~rmind/workqueue-2.diff

Zafer.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )