Re: Apache access problem

2005-07-31 Thread Michael Ben-Nes
quite easy: write the error in google and walla: snip from a thread: Whew. I found the reason for the problem. Apache is running as group www and the group file had two groups www with different numerical ids. Must have some historical reason that we use a differing numerical id on a few

Telux: Kernel Building by Ori Idan on 7/August

2005-07-31 Thread Shlomi Fish
On 7 August 2005, the Tel Aviv Linux Club will meet again to hear Ori Idan's presentation about building and maintaining the Linux kernel. The time of day is 18:30 and the place is Schreiber building, room 007 of Tel Aviv University. More information can be found at the club's site:

Need Computer Monitors for APCHII

2005-07-31 Thread Aviram Jenik
Hi, For the upcoming August Penguin Hacking Contest (APCHII) we need 6 computer monitors. If you have a computer monitor (17 is preferred) that you can bring with you to the contest (if it's not clear - the monitor will be returned to you afterwards...) please let me know. All monitor

Sendmail performance tuning

2005-07-31 Thread Larry Weisberg
Is there a mailing list (other than this list) to post questions about performance tuning of sendmail? Alternatively, is there anyone out there who has significant experience with performance tuning of Sendmail (preferrably on Debian) who might be interested in a few hours of consulting work?

restricting memory mapping

2005-07-31 Thread Boris Zingerman
Hi list We have some driver that performs zero-copy DMA to userspace allocated buffers. The problem is that the device cannot perform DMA to RAM pages with physical addresses above 4G ( this is heavily memory equipped computer) My question is it somehow possible to restrict memory mapping for

Re: restricting memory mapping

2005-07-31 Thread Muli Ben-Yehuda
On Sun, Jul 31, 2005 at 02:08:06PM +0300, Boris Zingerman wrote: We have some driver that performs zero-copy DMA to userspace allocated buffers. The problem is that the device cannot perform DMA to RAM pages with physical addresses above 4G ( this is heavily memory equipped computer) My

Re: File I/O within kernel threads?

2005-07-31 Thread Gilad Ben-Yossef
Gilboa Davara wrote: Muli, I well aware of the controversy surrounding FS access from kernel modules and I accept, that in general, kernel modules should be using the FS for storage. However, in essence, I'm using the *wrong* tool for the right job: I shouldn't be using Linux on a i386/x86-64

Re: restricting memory mapping

2005-07-31 Thread Gilad Ben-Yossef
Boris Zingerman wrote: We have some driver that performs zero-copy DMA to userspace allocated buffers. The problem is that the device cannot perform DMA to RAM pages with physical addresses above 4G ( this is heavily memory equipped computer) My question is it somehow possible to restrict

Re: File I/O within kernel threads?

2005-07-31 Thread Gilboa Davara
Umm... Let me try and further explain what I need. I'm writing a certain software network filter that handles -certain- Ethernet and ATM/POS traffic. Due to obvious performance consideration (Especially when under ATM) the filter runs in kernel space, start to finish. After the traffic is

Re: File I/O within kernel threads?

2005-07-31 Thread Gilad Ben-Yossef
Gilboa Davara wrote: Umm... As far as I can see, realyfs uses memory buffer for storage, which is major no-no in my case: At 50-200MB/sec I'll deplete the system RAM within minutes (even on AMD64) and as far as I can see, there's no obvious way to commit the buffers into static storage. Current

Re: File I/O within kernel threads?

2005-07-31 Thread Shachar Shemesh
Gilad Ben-Yossef wrote: So long as you didn't perform 2, you want the information to wait in a temporary buffer (I first wrote bugger here, which is rather funny ;-) A Freudian slip is when you mean one thing but say your mother. Now you can write that Temporary buffer layer in kernel that

Re: File I/O within kernel threads?

2005-07-31 Thread Gilboa Davara
Gilad, Umm... Interesting. You might be right... but I'm still not convinced. (Though my project manager will love the general idea. To say the least, she doesn't really fancy the idea of writing our own FS :)) I'm sorry if I seound harsh, but I don't think you udnerstand your own needs. It

Re: File I/O within kernel threads?

2005-07-31 Thread Muli Ben-Yehuda
On Sun, Jul 31, 2005 at 04:53:21PM +0300, Shachar Shemesh wrote: The RelayFS page talks about why they are not the same as netlink, but they don't actually say what the difference is, or why they think it is better. I'd love to hear why you recommend one but not the other - what are the

Re: File I/O within kernel threads?

2005-07-31 Thread Shachar Shemesh
Muli Ben-Yehuda wrote: On Sun, Jul 31, 2005 at 04:53:21PM +0300, Shachar Shemesh wrote: The RelayFS page talks about why they are not the same as netlink, but they don't actually say what the difference is, or why they think it is better. I'd love to hear why you recommend one but not the

Re: File I/O within kernel threads?

2005-07-31 Thread Gilad Ben-Yossef
Gilboa Davara wrote: Let's try to analyze them together - you need to store large amount of data from the network for proccessing by a further entity. What that data is exactly doesn't matter, but we will note that you might need to do non trivial handling of the data (encryption). I

Re: File I/O within kernel threads?

2005-07-31 Thread Muli Ben-Yehuda
On Sun, Jul 31, 2005 at 05:31:11PM +0300, Shachar Shemesh wrote: and a device+ioctl? deprecated, except in very specific case (only one I can recall in recent memory is the Cell's SPE interface, and that one is not yet decided). /sys? Setting and reading device configuration and attributes.

Re: Apache access problem

2005-07-31 Thread Shlomo Solomon
On Sunday 31 July 2005 11:20, Michael Ben-Nes wrote: Whew. I found the reason for the problem. Apache is running as group www and the group file had two groups www with different numerical ids. Must have some historical reason that we use a differing numerical id on a few machines. One of the

Re: Sendmail performance tuning

2005-07-31 Thread Ira Abramov
Quoting Larry Weisberg, from the post of Sun, 31 Jul: Is there a mailing list (other than this list) to post questions about performance tuning of sendmail? Alternatively, is there anyone out I'd google for it, and try sendmail.org actually... there who has significant experience with

NAPI performance ; tg3 and broadcom driver

2005-07-31 Thread Rami Rosen
Hi, NAPI (New API) is a technique to improve network performance on Linux. It is not so new (relatively) - first howto is from 16/2/2002. In a really very brief descriptiom , it uses polling intsead of interrupts in some scenarios. This polling is done for receiving packets (the network card

Re: File I/O within kernel threads?

2005-07-31 Thread Baruch Even
Gilboa Davara wrote: Here's how I see it: Kernel 1: Device - SKB - Reassembly - Disk. (I can even save the third memcpy [Reassembly - Disk] I go rewrite the world under me) User: Device - SKB - Reassembly ( - ?) Relayfs - User: write(2) - Kernel: sys_write (copy_from_user) - Disk.

Re: File I/O within kernel threads?

2005-07-31 Thread Gilboa Davara
On Sun, 2005-07-31 at 17:35 +0300, Gilad Ben-Yossef wrote: I should add the encryption optional, depending on load and source. (And more important, how fanatical is the client) (There's no way in hell, I'll be able to process and encrypt two OC48 links in real time...) I believe

Re: File I/O within kernel threads?

2005-07-31 Thread guy keren
On Sun, 31 Jul 2005, Gilboa Davara wrote: On Sun, 2005-07-31 at 17:35 +0300, Gilad Ben-Yossef wrote: Interesting... that might work. Let me first point out that once the cells/frames have been processed, I don't care much for timing. (Which bodes well on your solution). However,

low-level formatting?

2005-07-31 Thread Amos Shapira
Hello, Running badblocks -n on my hard drive I found a couple hundred of bad blocks, apparently pretty well concentrated in two areas. I intend to buy a new drive but still trying to make use of this 80Gb Maxtor drive I googled for low level format (the type that asks the drive itself to map bad

Re: File I/O within kernel threads?

2005-07-31 Thread Amos Shapira
On 8/1/05, Gilboa Davara [EMAIL PROTECTED] wrote: To be honest, I don't worry much about encryption. I doubt that it'll be used in any real high-bandwidth case. It will be used in cases where security matters most and bandwidth is *very* low to begin with. Use an encrypted filesystem? And as

Re: NAPI performance ; tg3 and broadcom driver

2005-07-31 Thread Amos Shapira
On 8/1/05, Rami Rosen [EMAIL PROTECTED] wrote: Polling is usually discouraged in linux device drivers , but there are cases (like when the interrupt rate is very high) in which this technique can improve performance. I'm just intrigued by this - how feasable would it be to write a driver (and

Re: Apache access problem

2005-07-31 Thread Amos Shapira
On 8/1/05, Shlomo Solomon [EMAIL PROTECTED] wrote: That doesn't seem to be the problem: I though you settled on the decision that the problem is the size of the file - could you justtry to create a file of just a little less than 2Gb size and fetch it, then icrease the same file to just a little

Re: NAPI performance ; tg3 and broadcom driver

2005-07-31 Thread Oron Peled
On Monday 01 August 2005 06:30, Amos Shapira wrote: I'm just intrigued by this - how feasable would it be to write a driver (and have support in the device hardware) that uses interrupts but switches to NAPI when the input rate peaks, then switches back to interrupts when the rate drops again?