Re: [osol-discuss] pci driver locking

2008-07-16 Thread UNIX admin
> Hi, > > I have written a driver for a special PCI Card on > Solaris 10, Dual Core 2,4 GHz. > The application uses the driver via ioctl to get one > byte from the PCI Card. > I use ddi_getxx to read the registers of the PCI > Card, locked with mutex_enter > and mutex_exit. > Between ioctl_entry a

Re: [osol-discuss] pci driver locking

2008-07-16 Thread Siegfried Schmidt
Thanks for the info, i have to modify the dtrace script (see below), and I am not sure if the time statement is ok. Timestamp is in nanoseconds, so I think correct is "...((timestamp - self->follow) > 5)/" ?? But I'm happy, I have the first results (without timestamp) and now I try to understa

Re: [osol-discuss] pci driver locking

2008-07-14 Thread Siegfried Schmidt
Hi, I have posted a second discussion in the DTRACE area. There I have posted my first results of my dtrace test. You can find it with supject:"dtrace within driver runtime" posted by sigi. I have used the on-cpu and off-cpu probes, but no results. I will try the ::interrupts probe again. thank

Re: [osol-discuss] pci driver locking

2008-07-08 Thread Frank . Hofmann
On Mon, 7 Jul 2008, Siegfried Schmidt wrote: > Hi, > > thanks for your ideas. > > Normally my transfer of one byte needs about 3 - 4 microseconds (i have > mentioned). Sometimes we need up to 50 - 80 microseconds for one byte. > So i think other threads or processes gets the cpu and my driver was

Re: [osol-discuss] pci driver locking

2008-07-07 Thread Siegfried Schmidt
Hi, thanks for your ideas. Normally my transfer of one byte needs about 3 - 4 microseconds (i have mentioned). Sometimes we need up to 50 - 80 microseconds for one byte. So i think other threads or processes gets the cpu and my driver was interrupted. I have done some dtrace tests, but up to no

Re: [osol-discuss] pci driver locking

2008-07-07 Thread Frank . Hofmann
On Sat, 5 Jul 2008, [EMAIL PROTECTED] wrote: > Hi, > [EMAIL PROTECTED] wrote: >> On Fri, 4 Jul 2008, Siegfried Schmidt wrote: >> >> >>> Hi, >>> >>> I have written a driver for a special PCI Card on Solaris 10, Dual Core 2,4 >>> GHz. >>> The application uses the driver via ioctl to get one byte fr

Re: [osol-discuss] pci driver locking

2008-07-05 Thread [EMAIL PROTECTED]
Hi, [EMAIL PROTECTED] wrote: > On Fri, 4 Jul 2008, Siegfried Schmidt wrote: > > >> Hi, >> >> I have written a driver for a special PCI Card on Solaris 10, Dual Core 2,4 >> GHz. >> The application uses the driver via ioctl to get one byte from the PCI Card. >> I use ddi_getxx to read the registe

Re: [osol-discuss] pci driver locking

2008-07-04 Thread Frank . Hofmann
On Fri, 4 Jul 2008, Siegfried Schmidt wrote: > Hi, > > I have written a driver for a special PCI Card on Solaris 10, Dual Core 2,4 > GHz. > The application uses the driver via ioctl to get one byte from the PCI Card. > I use ddi_getxx to read the registers of the PCI Card, locked with mutex_enter

[osol-discuss] pci driver locking

2008-07-04 Thread Siegfried Schmidt
Hi, I have written a driver for a special PCI Card on Solaris 10, Dual Core 2,4 GHz. The application uses the driver via ioctl to get one byte from the PCI Card. I use ddi_getxx to read the registers of the PCI Card, locked with mutex_enter and mutex_exit. Between ioctl_entry and ioctl_return (wit