Re: [patch] Userland DTrace

2013-02-09 Thread Andrey Zonov
fixes this for me here: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/171360 > I think you have to carefully ping George, and if he won't answer go ahead with your patches. Someone has to take care of userland dtrace. -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: [patch] Userland DTrace

2013-02-09 Thread Andrey Zonov
if (provider->ftp_retired && !provider->ftp_marked) > whack = provider->ftp_marked = 1; > mutex_exit(&provider->ftp_mtx); > + > +#if defined(sun) > + mutex_enter(&p->p_lock); > +

Re: geli(8) breaks after a couple hours of uptime

2013-02-09 Thread Andrey Zonov
ts on the stack. One is buf[MAXPHYS] in eli_genkey_files() and another is passbuf[MAXPHYS] in eli_genkey_passphrase(). If we change these two to malloc(), then we can handle error from malloc(), print some useful message and prevent segfault. -- Andrey Zonov signature.asc Description: OpenPG

Re: syscall cost freebsd vs linux ?

2012-11-26 Thread Andrey Zonov
sys_getppid(struct thread *td, struct getppid_args *uap) { struct proc *p = td->td_proc; - PROC_LOCK(p); td->td_retval[0] = p->p_pptr->p_pid; - PROC_UNLOCK(p); return (0); } -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: mfi driver performance

2012-09-10 Thread Andrey Zonov
spd volume (it claimed > there was no such file...?) and so I flashed the controller back to mps > for now. A shame, because I really like the mfi driver better, and > mfiutil worked great (even to flash firmware updates). > Have you got /dev/pass* when the controller run under mfi driver? If so, try to run smartctl on them. If not, add 'device mfip' in your kernel config file. -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: What is "Fast task queue"? (Was: How to understand what `swi5' kernel thread does?)

2012-08-29 Thread Andrey Zonov
It adds flowid in mbufs and makes possible to use multiple netisr threads. Apply the patch and put in your loader.conf the following: net.isr.maxthreads=$ncpu (2, 4 or whatever you want) net.isr.dispatch=deferred PS: original patch was written by melifaro. [1] http://people.freebsd.org/~zont/netisr.patch -- Andrey Zonov signature.asc Description: OpenPGP digital signature

Re: [HEADSUP][CFT] pkgng beta1 is out

2012-02-01 Thread Andrey Zonov
On 30.01.2012 16:39, Baptiste Daroussin wrote: Hi, pkgng has just reached the beta phase, and has now found its way to the ports tree (disabled by default). 1/ Why pkgng? Hi, What about pkgng support in tinderbox? -- Andrey Zonov