[kern/sys_pipe.c] PIPE_NODIRECT and pipe throughput

2008-03-07 Thread Antipov Dmitry
[originally posted to [EMAIL PROTECTED] Hello all, recently I've tried a few benchmarks around pipe throughput on Linux vs. FreeBSD. Everyone interesting can see my stuff at http://213.148.29.37/PipeBench, and initial post to Linux kernel developers mailing list at http://www.uwsg.iu.edu/hyperma

Re: pkg_add -r doesn't process sub dependencies?

2008-03-07 Thread Steven Hartland
- Original Message - From: "walt" <[EMAIL PROTECTED]> If you are using RELENG_7, pkg_add is looking in the wrong place on the remote server for packages. I just submitted a patch on the -STABLE list for this problem. I'm actually using PACKAGESITE which is meant to bypass all path calc

Re: pkg_add -r doesn't process sub dependencies?

2008-03-07 Thread walt
Steven Hartland wrote: Seems if you have package X which depends on package Y which depends on package Z then pkg_add -r X will always fail unless you first :- 1. pkg_add -r Y 2. pkg_add -r Z The failure will be:- pkg_add: could not find package Z ! This happens even though Z exists in the remo

Re: Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Jonathan Adams
I am defnitely interested in helping in this area if needed. A couple of years ago, I struggled mightily trying to get Oracle running on 5.1 On Fri, Mar 7, 2008 at 9:39 AM, Rink Springer <[EMAIL PROTECTED]> wrote: > Hi, > > > On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: > >

Re: Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Alexander Leidinger
Quoting Adrian Penisoara <[EMAIL PROTECTED]> (from Fri, 7 Mar 2008 16:36:56 +0200): Hi, After having to deploy an Oracle Database XE [1] installation (with Linux 32bit binaries from the official RPM package) on a production FreeBSD 6.2machine I realized it would be very much feasible to pro

Re: A (perhaps silly) kqueue question

2008-03-07 Thread Robert Watson
On Fri, 7 Mar 2008, Vlad GALU wrote: I see an unusual symptom with one of our in-house applications. The main I/O loop calls kevent(), which in turn returns two events with EV_EOF error set, always for the same descriptors (they're both socket descriptors). As the man page is not pretty clear

Re: A (perhaps silly) kqueue question

2008-03-07 Thread Vlad GALU
On 3/7/08, Julian Elischer <[EMAIL PROTECTED]> wrote: > Vlad GALU wrote: > > On 3/7/08, Julian Elischer <[EMAIL PROTECTED]> wrote: > >> Vlad GALU wrote: > >> >I see an unusual symptom with one of our in-house applications. The > >> > main I/O loop calls kevent(), which in turn returns two

Re: A (perhaps silly) kqueue question

2008-03-07 Thread Julian Elischer
Vlad GALU wrote: On 3/7/08, Julian Elischer <[EMAIL PROTECTED]> wrote: Vlad GALU wrote: >I see an unusual symptom with one of our in-house applications. The > main I/O loop calls kevent(), which in turn returns two events with > EV_EOF error set, always for the same descriptors (they're b

Re: A (perhaps silly) kqueue question

2008-03-07 Thread Vlad GALU
On 3/7/08, Julian Elischer <[EMAIL PROTECTED]> wrote: > Vlad GALU wrote: > >I see an unusual symptom with one of our in-house applications. The > > main I/O loop calls kevent(), which in turn returns two events with > > EV_EOF error set, always for the same descriptors (they're both socket >

Re: A (perhaps silly) kqueue question

2008-03-07 Thread Julian Elischer
Vlad GALU wrote: I see an unusual symptom with one of our in-house applications. The main I/O loop calls kevent(), which in turn returns two events with EV_EOF error set, always for the same descriptors (they're both socket descriptors). As the man page is not pretty clear about it and I don't

pkg_add -r doesn't process sub dependencies?

2008-03-07 Thread Steven Hartland
Seems if you have package X which depends on package Y which depends on package Z then pkg_add -r X will always fail unless you first :- 1. pkg_add -r Y 2. pkg_add -r Z The failure will be:- pkg_add: could not find package Z ! This happens even though Z exists in the remote source package direct

Re: soclose() & so->so_upcall() = race?

2008-03-07 Thread Andre Oppermann
Robert Watson wrote: On Fri, 7 Mar 2008, Alexander Motin wrote: As I can see so_upcall() callback is called with SOCKBUF_MTX unlocked. It means that SB_UPCALL flag can be removed during call and socket can be closed and deallocated with soclose() while callback is running. Am I right or I ha

Re: Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Ion-Mihai Tetcu
On Fri, 07 Mar 2008 16:14:15 +0100 Alexander Leidinger <[EMAIL PROTECTED]> wrote: > Quoting Adrian Penisoara <[EMAIL PROTECTED]> (from Fri, 7 Mar 2008 > 16:36:56 +0200): > > > Hi, > > > > After having to deploy an Oracle Database XE [1] installation > > (with Linux 32bit binaries from the off

A (perhaps silly) kqueue question

2008-03-07 Thread Vlad GALU
I see an unusual symptom with one of our in-house applications. The main I/O loop calls kevent(), which in turn returns two events with EV_EOF error set, always for the same descriptors (they're both socket descriptors). As the man page is not pretty clear about it and I don't have my UNP copy a

Re: libpthread/fork issue

2008-03-07 Thread Daniel Eischen
On Thu, 6 Mar 2008, Marko, Shaun wrote: I'm working on FreeBSD 6.2 and I'm wondering if anybody can help with an issue I've found using fork and threads. The attached program demonstrates the problem. In short, if a process creates a thread, joins the thread, then forks a child process which cre

Re: Network Throughput between jail and base system

2008-03-07 Thread Wesley Shields
On Fri, Mar 07, 2008 at 12:13:04AM +0200, Stefan Lambrev wrote: > Greetings, > > > Ilias Marinos wrote: > > Hello all, > > I have a jail to my FreeBSD-STABLE, in which I run some > > > uname -a will be more helpful then "FreeBSD-STABLE". > > services.I have configured and setup this jail u

Re: Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Rink Springer
Hi, On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: > After having to deploy an Oracle Database XE [1] installation (with Linux > 32bit binaries from the official RPM package) on a production FreeBSD > 6.2machine I realized it would be very much feasible to produce a > FreeBSD

Preparing an Oracle Database XE port/package -- any tips ?

2008-03-07 Thread Adrian Penisoara
Hi, After having to deploy an Oracle Database XE [1] installation (with Linux 32bit binaries from the official RPM package) on a production FreeBSD 6.2machine I realized it would be very much feasible to produce a FreeBSD port/package for it. I would like to know whether similar efforts have b

Re: libpthread/fork issue

2008-03-07 Thread John Baldwin
On Thursday 06 March 2008 10:45:15 pm Marko, Shaun wrote: > I'm working on FreeBSD 6.2 and I'm wondering if anybody can help with an > issue I've found using fork and threads. The attached program > demonstrates the problem. In short, if a process creates a thread, joins > the thread, then forks a

Re: sysctl: good practices and how to deprecate a node

2008-03-07 Thread John Baldwin
On Friday 07 March 2008 05:11:17 am Jean-Sébastien Pédron wrote: > Hello, > > I'm currently working again on the Synaptics Touchpad support[1] in psm(4). > > The enable_synaptics() probe function adds a subtree to "hw.psm"; I > didn't changed its behaviour for now. This subtree is created only if:

Re: libpthread/fork issue

2008-03-07 Thread Joerg Sonnenberger
On Thu, Mar 06, 2008 at 09:45:15PM -0600, Marko, Shaun wrote: > In short, if a process creates a thread, joins > the thread, then forks a child process which creates a thread, the > child's attempt to create a thread will cause the program to dump core > with the following error message. fork and

Re: Comments on pmake diffs for building on Linux

2008-03-07 Thread Robert Huff
Tom Evans writes: > > Yup. The proof will be in the pudding, as they say. > > The proof of the pudding is in the eating, actually. There's no proof > actually in the pudding. > > Add some brandy, or maybe rum :-) Makes the coding more fun. Maybe not faster or more

Re: Versioned symbols

2008-03-07 Thread Adriano dos Santos Fernandes
Jeremy Chadwick escreveu: On Thu, Mar 06, 2008 at 11:28:39PM -0300, Adriano dos Santos Fernandes wrote: I want to make versioned symbols as they work in Linux, but I had no success with FreeBSD. This seems quite relevant, specific to RELENG_7. (Said feature isn't available in earlier

libpthread/fork issue

2008-03-07 Thread Marko, Shaun
I'm working on FreeBSD 6.2 and I'm wondering if anybody can help with an issue I've found using fork and threads. The attached program demonstrates the problem. In short, if a process creates a thread, joins the thread, then forks a child process which creates a thread, the child's attempt to creat

sysctl: good practices and how to deprecate a node

2008-03-07 Thread Jean-Sébastien Pédron
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm currently working again on the Synaptics Touchpad support[1] in psm(4). The enable_synaptics() probe function adds a subtree to "hw.psm"; I didn't changed its behaviour for now. This subtree is created only if: o "hw.psm.synaptics_sup

Re: soclose() & so->so_upcall() = race?

2008-03-07 Thread Robert Watson
On Fri, 7 Mar 2008, Alexander Motin wrote: As I can see so_upcall() callback is called with SOCKBUF_MTX unlocked. It means that SB_UPCALL flag can be removed during call and socket can be closed and deallocated with soclose() while callback is running. Am I right or I have missed something? H