Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Richard Sharpe
On Tue, 2013-01-08 at 22:24 -0500, Daniel Eischen wrote: > On Tue, 8 Jan 2013, Daniel Eischen wrote: > > > On Tue, 8 Jan 2013, Richard Sharpe wrote: > > > >> [ ... ] > >> > >> Well, it turns out that your suggestion was correct. > >> > >> I did some more searching and found another similar sugge

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Daniel Eischen
On Tue, 8 Jan 2013, Daniel Eischen wrote: On Tue, 8 Jan 2013, Richard Sharpe wrote: [ ... ] Well, it turns out that your suggestion was correct. I did some more searching and found another similar suggestion, so I gave it a whirl, and it works. Now, my problem is that Jeremy Allison thinks

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread David Xu
On 2013/01/09 11:14, Daniel Eischen wrote: On Tue, 8 Jan 2013, Richard Sharpe wrote: [ ... ] Well, it turns out that your suggestion was correct. I did some more searching and found another similar suggestion, so I gave it a whirl, and it works. Now, my problem is that Jeremy Allison thinks

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Daniel Eischen
On Tue, 8 Jan 2013, Richard Sharpe wrote: [ ... ] Well, it turns out that your suggestion was correct. I did some more searching and found another similar suggestion, so I gave it a whirl, and it works. Now, my problem is that Jeremy Allison thinks that it is a fugly hack. This means that I w

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread David Xu
On 2013/01/09 07:14, Richard Sharpe wrote: On Tue, 2013-01-08 at 08:14 -0800, Richard Sharpe wrote: On Tue, 2013-01-08 at 15:02 +0800, David Xu wrote: On 2013/01/08 14:33, Richard Sharpe wrote: On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: On 2013/01/08 09:27, Richard Sharpe wrote: Hi f

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Richard Sharpe
On Tue, 2013-01-08 at 08:14 -0800, Richard Sharpe wrote: > On Tue, 2013-01-08 at 15:02 +0800, David Xu wrote: > > On 2013/01/08 14:33, Richard Sharpe wrote: > > > On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: > > >> On 2013/01/08 09:27, Richard Sharpe wrote: > > >>> Hi folks, > > >>> > > >>> I

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Adrian Chadd
libevent doesn't do disk IO. Adrian ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Garrett Cooper
On Jan 8, 2013, at 9:20 AM, Adrian Chadd wrote: > On 8 January 2013 08:15, Richard Sharpe wrote: >> On Tue, 2013-01-08 at 07:36 -0800, Adrian Chadd wrote: >>> .. or you could abstract it out a bit and use freebsd's >>> aio_waitcomplete() or kqueue aio notification. >>> >>> It'll then behave muc

Re: L1 cache thrashing affects performance of HIMENO benchmark

2013-01-08 Thread Adrian Chadd
... can someone please file a FreeBSD PR with some example workloads and the dfbsd list summary? I'd like to make sure we don't lose this particular thread. It may be worth "teaching" jemalloc to offset the allocation sizes so they don't hit this degenerate cache case, then do a bunch of testing

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Adrian Chadd
On 8 January 2013 08:15, Richard Sharpe wrote: > On Tue, 2013-01-08 at 07:36 -0800, Adrian Chadd wrote: >> .. or you could abstract it out a bit and use freebsd's >> aio_waitcomplete() or kqueue aio notification. >> >> It'll then behave much saner. > > Yes, going forward that is what I want to do

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Richard Sharpe
On Tue, 2013-01-08 at 07:36 -0800, Adrian Chadd wrote: > .. or you could abstract it out a bit and use freebsd's > aio_waitcomplete() or kqueue aio notification. > > It'll then behave much saner. Yes, going forward that is what I want to do ... this would work nicely with a kqueue back-end for Sa

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Richard Sharpe
On Tue, 2013-01-08 at 15:02 +0800, David Xu wrote: > On 2013/01/08 14:33, Richard Sharpe wrote: > > On Tue, 2013-01-08 at 10:46 +0800, David Xu wrote: > >> On 2013/01/08 09:27, Richard Sharpe wrote: > >>> Hi folks, > >>> > >>> I am running into a problem with AIO in Samba 3.6.x under FreeBSD 8.0 >

Re: Is it possible to block pending queued RealTime signals (AIO originating)?

2013-01-08 Thread Adrian Chadd
.. or you could abstract it out a bit and use freebsd's aio_waitcomplete() or kqueue aio notification. It'll then behave much saner. adrian On 7 January 2013 22:26, Richard Sharpe wrote: > On Mon, 2013-01-07 at 22:24 -0500, Daniel Eischen wrote: >> On Mon, 7 Jan 2013, Richard Sharpe wrote: >>

Re: cpufreq not working as module on i386/amd64

2013-01-08 Thread Konstantin Belousov
On Tue, Jan 08, 2013 at 01:15:59PM +0800, Jia-Shiun Li wrote: > Hi all, > > move to -hackers as it seems a better place to discuss. > > Turns out, at acpi_cpu_attach(), the bus probe will query > ACPI_GET_FEATURES() to get cpu_features flags from each cpufreq > drivers. Since it is only executed

Getting the most out of nvi

2013-01-08 Thread Andy Zammy
Hi, I'm interested in using nvi as my IDE for developing. I made a thread on the forum a while ago ( for those that are interested - http://forums.freebsd.org/showthread.php?t=34914 ), and concluded I would get a better response here. Since creating that thread I have gained a working understandin