Re: kmap_atomic in 2.6.20.x

2007-06-07 Thread Raz Ben-Jehuda(caro)
On 6/6/07, Jens Axboe <[EMAIL PROTECTED]> wrote: On Wed, Jun 06 2007, Raz Ben-Jehuda(caro) wrote: > Hello > > I am running into some problems with kmap_atomic in my driver. > My driver copies some pages coming from > user space to "kernel space kmalloc'ed memory&q

kmap_atomic in 2.6.20.x

2007-06-06 Thread Raz Ben-Jehuda(caro)
Hello I am running into some problems with kmap_atomic in my driver. My driver copies some pages coming from user space to "kernel space kmalloc'ed memory". I had this code running from 2.6.5 to 2.6.17 without any problems. I have upgraded to 2.6.20.xx and this code fails to kmap_atomic. I am run

hpet on hp proliant dl380 g5 4 cores

2007-05-09 Thread Raz Ben-Jehuda(caro)
Hello Robert. I have noticed that you are the writer of the hpet driver in linux. I have been running the test tool provided in linux/Documenration/hpet.txt on an hp dl380. It runs for few seconds and then the hpet timer clock stopped interrupting ( I looked at /proc/interrupts). It happens faste

[DISCUSS] memory allocation method

2007-01-15 Thread Raz Ben-Jehuda(caro)
I have a process who allocates as much as possible of RAM in 4 G ram 32bit machine. This buffer is never released. Questions: 1. Is it better allocates with many 1MB buffers or allocate it in with one a big valloc ? 2. I will be needing to make this memory allocation in many other machines , s

Re: [PATCH 01/24] Unionfs: Documentation

2007-01-09 Thread Raz Ben-Jehuda(caro)
On 1/9/07, Erez Zadok <[EMAIL PROTECTED]> wrote: In message <[EMAIL PROTECTED]>, Christoph Hellwig writes: > On Mon, Jan 08, 2007 at 07:03:35PM -0500, Erez Zadok wrote: > > However, I must caution that a file system like ecryptfs is very different > > from Unionfs, the latter being a fan-out file

A Correct Design of a multi cpu/core rt application

2007-01-04 Thread Raz Ben-Jehuda(caro)
Hello I am trying to implement a (soft) real time kthread on a dual cpu machine. Basic design is very simple, the kthread binds to cpu 1 sets itself to a high real time priority and never releases this cpu. Whenever it needs to wait a little I use the assembler pause command. The operating syste

Re: [patch 63/87] md: define raid5_mergeable_bvec

2006-12-11 Thread Raz Ben-Jehuda(caro)
this is against 2.6.19-git17 hope this correct raz On 12/11/06, Jens Axboe <[EMAIL PROTECTED]> wrote: On Mon, Dec 11 2006, Raz Ben-Jehuda(caro) wrote: > On 12/11/06, Jens Axboe <[EMAIL PROTECTED]> wrote: > >On Sun, Dec 10 2006, [EMAIL PROTECTED] wrote: > >> From:

Re: irq/0/smp_affinity =3 doesn't seem to work

2006-12-05 Thread Raz Ben-Jehuda(caro)
On 12/5/06, Arjan van de Ven <[EMAIL PROTECTED]> wrote: On Tue, 2006-12-05 at 18:30 +0200, Raz Ben-Jehuda(caro) wrote: > hello. > > I have a dual cpu AMD machine, I noticed that > only one timer0 is working in /proc/interrutps. > setting proc/irq/0/smp_affinity to 3 does

irq/0/smp_affinity =3 doesn't seem to work

2006-12-05 Thread Raz Ben-Jehuda(caro)
hello. I have a dual cpu AMD machine, I noticed that only one timer0 is working in /proc/interrutps. setting proc/irq/0/smp_affinity to 3 does make any difference. setting smp_affinity to 2 does move the inetrrupts. the above applys with or withour irq_balancer . thank you -- Raz - To unsubscri

Re: slow io_submit

2006-12-05 Thread Raz Ben-Jehuda(caro)
On 12/4/06, Phillip Susi <[EMAIL PROTECTED]> wrote: Raz Ben-Jehuda(caro) wrote: > Who returns EGAIN to whom ? I am not sure i understand what you mean > here. If the queue is full then io_sumbit() should return EAGAIN or some other error to indicate that the queue is full, but

Re: slow io_submit

2006-12-01 Thread Raz Ben-Jehuda(caro)
On 12/1/06, Jens Axboe <[EMAIL PROTECTED]> wrote: On Fri, Dec 01 2006, Raz Ben-Jehuda(caro) wrote: > Jens suparna hello > > I have managed to understand why io_submit is sometimes very slow. > It is because the device is plugged once too many io's are being sent. > I ha

slow io_submit

2006-12-01 Thread Raz Ben-Jehuda(caro)
Jens suparna hello I have managed to understand why io_submit is sometimes very slow. It is because the device is plugged once too many io's are being sent. I have conducted a simple test with nr_request to default value of 128 and and 256. and it proved to be correct. I would truely appreciate