Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
> > > > When you say it reloads it's VM, you mean it reloads the CR3 register? > > Yes. > > No. In 2.4 you could probably use the on demand lazy vm mechanism ingo described for > the nfsd processes. In 2.2 it is a bit more tricky, if I remember right lazy mm >needed > quite a few changes. >

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 09:39:37AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > Is there an option to map Linux into a flat address space [...] > > nope, Linux is fundamentally multitasked. > > what you can do to hack around this is to not switch to the idle t

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Andi Kleen
On Mon, Oct 30, 2000 at 01:04:34AM -0700, Jeff V. Merkey wrote: > > > > > > When you say it reloads it's VM, you mean it reloads the CR3 register? > > > > Yes. > > > > No. In 2.4 you could probably use the on demand lazy vm mechanism ingo described >for > > the nfsd processes. In 2.2 it is a

initrd broken???

2000-10-30 Thread Jeff Chua
I'm posting this hoping that someone will fix this soon ... On Sat, 28 Oct 2000, Jeff Chua wrote: > freeram /dev/ram0 > File freeram.c: Line 41: ioctl /dev/ram0: Error 16: Device or resource busy this should not happen. > I cannot free the old initrd root partition under 2.4.0-testx, but it wo

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
> > > > I just guess the end result will be as crash prone as Netware when you install any >third > > party software ;) > > > > lazy mm is probably a better path, as long as you stay in kernel threads and a >single user mm > > it'll never switch VMs. > > It's not that bad. Some code has bee

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > [...] All protection has to go away in all LAN paths for this to > happen, and user space apps set to ring 0. [...] i found that this is not a requirement for good network scalability. We do not do a syscall for every packet, so the cost evens out. S

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 10:52:08AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > [...] All protection has to go away in all LAN paths for this to > > happen, and user space apps set to ring 0. [...] > > i found that this is not a requirement for good network sca

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > No argument here, but the overhead of reloading CR3 period will kill > performance. [...] 2.4 does not reload CR3, unless you are using multiple user-space processes. > 2.4 does not beat NetWare, BTW, it gets a little further, but still > hits the w

Patch: modularizing partition parsing in linux-2.4.0-test10-pre6

2000-10-30 Thread Adam J. Richter
Ages ago, I modularized the partition parsing code and posted the patch to linux-kernel. I received a few suggestions for some small improvements, and I confess it took me a while to get around to producing a new patch. Anyhow, here is the new partitioning modularization patch. It now l

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:13:58AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > No argument here, but the overhead of reloading CR3 period will kill > > performance. [...] > > 2.4 does not reload CR3, unless you are using multiple user-space > processes. > > >

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > For example, if you put a MOV EAX, CR3; MOV CR3, EAX; in a context > switching path, on a PPro 200, you can do about 35,000 context > switches/second in 2.4 & Xeons we can do more than 100,000 context switches/second, and that is more than enough. B

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:27:04AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > For example, if you put a MOV EAX, CR3; MOV CR3, EAX; in a context > > switching path, on a PPro 200, you can do about 35,000 context > > switches/second > > in 2.4 & Xeons we can

Re: [patch] NE2000

2000-10-30 Thread Paul Gortmaker
Jeff Garzik wrote: > > pavel rabel wrote: > > help. So I removed PCI code from ne.c to have ISA only driver. It > > This change sounds ok to me, if noone else objects. (I added to the CC > a bit) I saw that code, and was thinking about doing the same thing > myself. ne2k-pci.c definitely has

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > [...] you've got the web server covered. What about file and print. a web server, as you probably know, is a read-mostly fileserver that serves files via the HTTP protocol. The rest is only protocol fluff. > I think this is great, but most web serv

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > This is putrid. NetWare does 353,00,000/second on a Xenon, pumping out > gobs of packets in between them. MANOS does 857,000,000/second. This > is terrible. No wonder it's so f_cking slow!!! (no need to get emotional.) And please check your numbers,

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:41:35AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > [...] you've got the web server covered. What about file and print. > > a web server, as you probably know, is a read-mostly fileserver that > serves files via the HTTP protocol. T

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > ds: and es: are both used in copy-to-user and copy-from-user and they > get reloaded. And they all share the same segment descriptor. Whats your point? ES is the default target segment for string operations. DS is the default data segment. Have you e

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:44:26AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > This is putrid. NetWare does 353,00,000/second on a Xenon, pumping out > > gobs of packets in between them. MANOS does 857,000,000/second. This > > is terrible. No wonder it's so f_c

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:50:24AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > ds: and es: are both used in copy-to-user and copy-from-user and they > > get reloaded. > > And they all share the same segment descriptor. Whats your point? ES is > the default tar

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > reads dominate writes in almost all workloads, thats common wisdom. Why > > write if nobody reads the data? And while web servers are mostly read only > > data, they can write data as well, see POST and PUT. The fact that > > incoming writes are har

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 11:56:06AM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > > reads dominate writes in almost all workloads, thats common wisdom. Why > > > write if nobody reads the data? And while web servers are mostly read only > > > data, they can write

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > And please check your numbers, 857 million > > context switches per second means that on a 1 GHZ CPU you do one context > > switch per 1.16 clock cycles. Wow! > > Excuse me, 857,000,000 instructions executed and 460,000,000 context switches > a sec

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > It's not curious, it's not about bandwidth, it's about latency, and > getting packets in and out of the server as fast as possible, and > ahead of everything else. [...] TUX prepares a HTTP reply in about 30 microseconds (plus network latency), good

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 12:01:08PM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > > And please check your numbers, 857 million > > > context switches per second means that on a 1 GHZ CPU you do one context > > > switch per 1.16 clock cycles. Wow! > > > > Excuse m

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 12:04:43PM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > It's not curious, it's not about bandwidth, it's about latency, and > > getting packets in and out of the server as fast as possible, and > > ahead of everything else. [...] > > TUX

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > Excuse me, 857,000,000 instructions executed and 460,000,000 context switches > > > a second -- on a PII system at 350 Mhz. [...] > Go download it and try it, then come back with that smirk wiped off > your face. I'll enjoy it. so in 0.53 cl

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > TUX prepares a HTTP reply in about 30 microseconds (plus network latency), > > good enough? Network latency is the limit, even on gigabit - not to talk > > about T1 lines. > > Great. Now how do we get the smae numbers on SAMBA and MARS-NWE? [...]

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 12:12:44PM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > > > Excuse me, 857,000,000 instructions executed and 460,000,000 context switches > > > > a second -- on a PII system at 350 Mhz. [...] > > > Go download it and try it, then come ba

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Jeff V. Merkey
On Mon, Oct 30, 2000 at 12:13:52PM +0100, Ingo Molnar wrote: > > On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > > > > TUX prepares a HTTP reply in about 30 microseconds (plus network latency), > > > good enough? Network latency is the limit, even on gigabit - not to talk > > > about T1 lines. > >

Questions on lack of piix4 usb interrupts

2000-10-30 Thread Adam J. Richter
I am trying to determine how I should try to fix the problem of my notebook computer not receiving USB interrupts. I seem to have gotten it to sort of work by kludging to the USB UHCI driver's millisecond timer routine to also invoke the interrupt handler, but I hope I do not have to resor

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Ingo Molnar
On Mon, 30 Oct 2000, Jeff V. Merkey wrote: > Ingo, This original thread was regarding Linux vs. NetWare 5.x > performance metrics and responses from Linux folks about how to affect > and improve them, not a diatribe on the features of TUX. oh, i believe you misunderstand. TUX itself is quite si

Re: NFS, Can't get request slot

2000-10-30 Thread Grahame Jordan
Alan, student:/susr/ /usr  nfs  defaults,rsize=1024,wsize=1024  0 0 Thanks Graham Jordan   Alan Cox wrote: > By the evidence that we have gathered it seems that the Server is not > taxed too much as samba users are getting files OK etc.  The can't get > request slo

Re: Compile error in drivers/ide/osb4.c in 240-t10p6

2000-10-30 Thread coreythomas
ray_cs was imported to the kernel as one of the first test drivers by Linus. At the time, he wanted to get rid of the CardServices(function...) interface and replace it with pcmcia_function calls. It seems that the correct fix would be to change pcmcia_request_irq to RequestIRQ like all the oth

bug or what??

2000-10-30 Thread Marco Zanon
Hi :) I'd like to report some strange things happening to me since using kernel 2.2.17 (2.2.15-4mdk was better instead). *** MOST STRANGE *** The following are strange behaviours, because they only happen "sometimes" when booting or shutting down! Sorry, I was not able to determine *when* they

[ANNOUNCE] SUBTERFUGUE 0.1.99

2000-10-30 Thread mkc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 SUBTERFUGUE 0.1.99 is available. It's been updated to work with the latest kernel (linux-2.4.0-test9), and there are new tricks, documentation, and a Debian package. (see below) As always, feedback is welcome. Have fun! - --Mike

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread john slee
On Mon, Oct 30, 2000 at 03:06:25AM -0700, Jeff V. Merkey wrote: > Ingo, This original thread was regarding Linux vs. NetWare 5.x performance > metrics and responses from Linux folks about how to affect and > improve them, not a diatribe on the features of TUX. while beating netware in certain a

Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-30 Thread Peter Samuelson
[rth] > > Which was a nice idea, but it doesn't actually work. Changes > > in spec file format between versions makes this fall over. [Dominik Kubla] > Wow. So much for reading the manual... well, that's considered > cheating anyway, isn't it? I know this was true at one time -- egcs couldn'

Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-30 Thread Peter Samuelson
[Rusty] > > CC=gcc-2723 make 2.0 kernel > > CC=gcc-2723 make 2.2 kernel > > CC=egcs make 2.4 kernel > > No, environment doesn't override make variables by default. This > works on any shell: > > make CC=egcs If you're going to get pedantic, that won't work either -- since the makefiles

FIFO-Scheduling in Kernel 2.2

2000-10-30 Thread Christoph Pleger
Hello, I experienced problems in programs which used priorities under FIFO-Scheduling with Kernel 2.2 although these programs worked well with Kernel 2.0. I read in this list that other people had the same problems. Is any solution (a newer kernel version or a special patch) available for tha

Re: Questions on lack of piix4 usb interrupts

2000-10-30 Thread Maciej W. Rozycki
On Mon, 30 Oct 2000, Adam J. Richter wrote: > My question is: could I get a slightly more detailed > explanation of what exactly the quirk_piix3usb routine was > trying to fix so I can better understand if I am bumping into > the same problem? Do I understand correctly that the piix3 fixup

Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Linux Kernel Developer
Hi all, After a delay on some other project I've again started up the process of fixing up the Linux headers, i.e. removing the use of C++ keywords as variable and stuff. I have questions on the use of three datastructures which happen to use the C++ keyword new but first a couple of things.

Recommended compiler? - Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-30 Thread Linux Kernel Developer
So which is the recommended compiler for each kernel version 2.2.x, 2.4.x(pre?) nowadays? I've pretty much kept gcc 2.7.2.3 around just for compiling the kernel however now I hear you need egcs to compile 2.4? I don't mind keeping 2.7.2.3 around in its own installation directory just for the pur

Re: [PATCH] kiobuf/rawio fixes for 2.4.0-test10-pre6

2000-10-30 Thread Christoph Hellwig
On Fri, Oct 27, 2000 at 02:23:04PM -0700, Linus Torvalds wrote: > > [...] > > That solution, btw, might be as simple as just saying: > > - raw IO is based on physical pages, and the COW mapping crated by >fork() may cause the changes to be visibile to either child or parent >or both, dep

Re: Recommended compiler? - Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-30 Thread Peter Samuelson
> So which is the recommended compiler for each kernel version 2.2.x, > 2.4.x(pre?) nowadays? * 2.91.66 aka egcs 1.1.2. It has been officially blessed for 2.4 and has been given an informal thumbs-up by Alan for 2.2. (It does NOT work for 2.0, if you still care about that.) * 2.7.2.3 work

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread J . A . Magallon
On Mon, 30 Oct 2000 12:09:49 Linux Kernel Developer wrote: > The goal of this project is to clean up the kernel headers so as they are > useable/compatible with those who wish to program their kernel modules in > C++. It is not my goal to rewrite the kernel in C++ or anything like that, Fist of

RE: ide/disk perf?

2000-10-30 Thread Pierre Etchemaite
Le 30-Oct-2000, Mohammad A. Haque écrivait : > Could someone who knows ide and drive inside and out (Andre?) please > take a look at these figures? Am I forgetting to do something (or doing > something I'm not suposed to) to get the best numbers? I thought I'd be > able to get more than ~4MB/sec

Re: GPL Question

2000-10-30 Thread Helge Hafting
Alan Cox wrote: > > > If the answer to this is "yes", then Microsoft should own some rights to > > every piece of software that uses the Windows API. > > As US copyright law stands of the last few days Microsoft are entitled to > require a magic constant is passed in one register to 'unloc

Re: /proc & xml data

2000-10-30 Thread Moritz Schulte
[EMAIL PROTECTED] (Eric W. Biederman) writes: > The general consensus is that if we have a major reorganization, in proc > the rule will be one value per file. And let directories do the grouping. IIRC some time ago somebody suggested to rename 'proc' to something like 'sys' or 'system', becaus

Re: / on ramfs, possible?

2000-10-30 Thread Alan Cox
> I want my / to be a ramfs filesystem. I intend to populate it from an > initrd image, and then remount / as the ramfs filesystem. Is that at > all possible? The way I see it the kernel requires / on a device > (major,minor) or nfs. > > Am I out of luck using ramfs as /? If it's easy to fix,

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Keith Owens
On Mon, 30 Oct 2000 13:00:06 +0100, "J . A . Magallon" <[EMAIL PROTECTED]> wrote: >And what about struct fields ? It is the same. If you change the name of a field >permanently, you have to modify the C source that uses it. But names are not >important for binary compatability, so you can make th

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Alan Cox
> We will never beat NetWare on scaling if this is the case, even in 2.4. > Andre and my first job will be to create an arch port with MANOS that > disables this and restructures the VM. In the 2.4 case if you are just running NFS daemons then there are no tlb reloads going on at all. Whats m

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Andi Kleen
On Mon, Oct 30, 2000 at 12:47:10PM +, Alan Cox wrote: > > We will never beat NetWare on scaling if this is the case, even in 2.4. > > Andre and my first job will be to create an arch port with MANOS that > > disables this and restructures the VM. > > In the 2.4 case if you are just runnin

Re: Recommended compiler? - Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-30 Thread Martin Dalecki
Peter Samuelson wrote: > > > So which is the recommended compiler for each kernel version 2.2.x, > > 2.4.x(pre?) nowadays? > > * 2.91.66 aka egcs 1.1.2. It has been officially blessed for 2.4 and > has been given an informal thumbs-up by Alan for 2.2. (It does NOT > work for 2.0, if you st

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Alan Cox
> one -- I've got extra licensed copies), install it, put a load of 5000 > connections on it, with 4 adapters. Dual boot Linux on it, and attempt > the same with SAMBA or MARS-NWE, and watch it oink. SAMBA and Mars-nwe are running user space thats why. They have flexibility, protection and ca

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Alan Cox
> js_dev::new. My questions are basically this. If I update these data > structure members' names along with the references to them in various C > files in the kernel will all be happy in Linuxland. Can any external That may well be a problem. Also the use of private. > utilities be broken or

Re: 2.4.0-test10-pre6: Use of abs()

2000-10-30 Thread Martin Dalecki
Horst von Brand wrote: > > Red Hat 7.0, i686, gcc-20001027 (Yes, I know. Just to flush out bugs on > both sides). > > abs() is used at least in: > > arch/i386/kernel/time.c > drivers/md/raid1.c > drivers/sound/sb_ess.c > > gcc warns about use of a non-declared function each time. > > No defin

Re: 2.4.0-test10-pre6: Use of abs()

2000-10-30 Thread Jakub Jelinek
On Mon, Oct 30, 2000 at 03:01:16PM +0100, Martin Dalecki wrote: > Horst von Brand wrote: > > > > Red Hat 7.0, i686, gcc-20001027 (Yes, I know. Just to flush out bugs on > > both sides). > > > > abs() is used at least in: > > > > arch/i386/kernel/time.c > > drivers/md/raid1.c > > drivers/sound/s

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Keith Owens
On Mon, 30 Oct 2000 13:04:06 + (GMT), Alan Cox <[EMAIL PROTECTED]> wrote: >You may find that creating your own wrappers for these files that do > >extern "C" { >#define new new_ >#define private private_ >#include >#undef new >#undef private >} > >safer, since you won't break anything It br

dropping untracked packets patch for 2.4 (fwd)

2000-10-30 Thread Thomas Molina
Linus, Rusty Russell suggested I send the following patch to you. It redirects to the log file those annoying dropping untracked packet messages. This patch works agains any recent 2.4.0-test kernels. diff -urN linux.new1/net/ipv4/netfilter/ip_nat_standalone.c linux.new/net/ipv4/netfilter/ip_n

Re: kernel 2.4.0-test9 nd bttv

2000-10-30 Thread Erik Mouw
On Sun, Oct 29, 2000 at 09:01:21PM -0500, vwbug wrote: > it look like you didn't add the lines to .config the stupid bttv drivers > that's why mine didnt work with bttv card i have read the .config under > video for linux and found no refernce to bttv??? I'm not sure if this is what you mean, bu

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Alan Cox
> >You may find that creating your own wrappers for these files that do > > > >extern "C" { > >#define new new_ > >#define private private_ > >#include > >#undef new > >#undef private > >} > > > >safer, since you won't break anything > > It breaks module symbol versions, see earlier mail to l-k.

Re: PLIP driver in 2.2.xx kernels

2000-10-30 Thread lnxkrnl
On Sat, 28 Oct 2000, Alan Cox wrote: > > I have a question - Why does the PLIP driver does consume so much CPU ? > > I tried it today, and when i did ping -s 16000 dst_ip, the kernel consumed > > about 50% of the CPU time ( /proc/cpuinfo and /proc/interrupts follow). > > Any ideas ? > > It h

Re: ide/disk perf?

2000-10-30 Thread Andrew Morton
Pierre Etchemaite wrote: > > Le 30-Oct-2000, Mohammad A. Haque écrivait : > > Could someone who knows ide and drive inside and out (Andre?) please > > take a look at these figures? Am I forgetting to do something (or doing > > something I'm not suposed to) to get the best numbers? I thought I'd b

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Keith Owens
On Mon, 30 Oct 2000 13:41:40 + (GMT), Alan Cox <[EMAIL PROTECTED]> wrote: >Keith Owens wrote >> >You may find that creating your own wrappers for these files that do >> > >> >extern "C" { >> >#define new new_ >> >#define private private_ >> >#include >> >#undef new >> >#undef private >> >} >

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Alan Cox
> As part of the 2.5 kbuild redesign, symbol versions will be completely > redone. One of the things on my todo list is to detect this mismatch. > There are some problems in doing that which I may or may not be able to > overcome, but if the field names are different between C and C++ then I > ca

Re: PLIP driver in 2.2.xx kernels

2000-10-30 Thread Alan Cox
> > It has to bang on the parallel port controller the hard way, there is no > > useful hardware support on a basic parallel port for the kind of abuse needed > > for PLIP > > > (sorry for the late reply) > I used plip with kernel 1.2.8 and had no problem with it...The machines > that I'm using

[PATCH] TracerPid in /proc//status is wrong

2000-10-30 Thread Mike Coleman
Linus, This patch fixes the bogus value of the TracerPid field in /proc//status. (I thought was patched several months back, but I guess it wasn't, or it got mistakenly backed out.) --Mike --- fs/proc/array.c-distFri Sep 1 16:32:17 2000 +++ fs/proc/array.c Mon Oct 30 08:02:35 200

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-30 Thread Jesse Pollard
- Received message begins Here - Jesse Pollard <[EMAIL PROTECTED]>: > On Sun, 29 Oct 2000, Stephen Harris wrote: > >Horst von Brand wrote: > > > >> > > If you send SIGSTOP to syslogd on a Red Hat 6.2 system (glibc 2.1.3, > >> > > kernel 2.2.x), within a few minutes you will find

Re: Need info on the use of certain datastructures and the first C++ keyword patch for 2.2.17

2000-10-30 Thread Keith Owens
On Mon, 30 Oct 2000 14:02:38 + (GMT), Alan Cox <[EMAIL PROTECTED]> wrote: >> As part of the 2.5 kbuild redesign, symbol versions will be completely >> redone. One of the things on my todo list is to detect this mismatch. >> There are some problems in doing that which I may or may not be able

Locking Between User Context and Soft IRQs in 2.4.0

2000-10-30 Thread Hen, Shmulik
Hello, We are trying to port a network driver from 2.2.x to 2.4.x and have some question regarding locks. According to the kernel locking HOWTO, we have to take extra care when locking between user context threads and BH/tasklet/softIRQ, so we learned (the hard way ;-) that when running the ioctl

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-30 Thread Jesse Pollard
Stephen Harris <[EMAIL PROTECTED]>: > > It was NOT ignored. If syslogd dies, then the system SHOULD stop, after a > > Huh? "SHOULD"? Why? If syslog dies for any reason (bug, DOS, hack, > admin stupidity) then I sure don't want the system freezing up. Should because this is the only audit log

[PATCH] update to SysRQ registration patch

2000-10-30 Thread Crutcher Dunnavant
I've recently updated the SysRQ registration patch, which is still available at: http://bama.ua.edu/~dunna001/sysrq-register/ to have a 2.4.0-test10-pre6 incarnation. I've also added a more complex module example, showing some of the things that this patch makes possible, that is available at the

Re: [patch] NE2000

2000-10-30 Thread pavel rabel
On Mon, 30 Oct 2000, Paul Gortmaker wrote: > There is no urgency in trying to squeeze a patch like this in the back > door of a 2.4.0 release. For example, there are people out there now > who are using the ne.c driver to run both ISA and PCI cards in the same > box without having to use 2 di

Re: [PROPOSED PATCH] ATM refcount + firestream

2000-10-30 Thread Philipp Rumpf
On Sat, Oct 28, 2000 at 11:50:22AM -0400, Brian Gerst wrote: > Philipp Rumpf wrote: > > > > On Sat, Oct 28, 2000 at 09:55:21AM -0400, Brian Gerst wrote: > > > Yes, but they can be called (and sleep) with module refcount == 0. This > > > is because the file descripter used to perform the ioctl is

Re: 2.4.0-test10-pre6: Use of abs()

2000-10-30 Thread Martin Dalecki
Jakub Jelinek wrote: > > On Mon, Oct 30, 2000 at 03:01:16PM +0100, Martin Dalecki wrote: > > Horst von Brand wrote: > > > > > > Red Hat 7.0, i686, gcc-20001027 (Yes, I know. Just to flush out bugs on > > > both sides). > > > > > > abs() is used at least in: > > > > > > arch/i386/kernel/time.c > >

Re: Possible critical VIA vt82c686a chip bug

2000-10-30 Thread Vojtech Pavlik
On Mon, Oct 30, 2000 at 11:36:10AM +, Mark Cooke wrote: > As a followup - I modified your reset patch to work with 2.2.x, and in > doing so, I noticed that it is only the slow get time of day (not > using TSC) that is affected. I have my kernel compiled with TSC, so > my apparent clock jump

Re: Possible critical VIA vt82c686a chip bug

2000-10-30 Thread Mark Cooke
On Mon, 30 Oct 2000, Vojtech Pavlik wrote: > I don't think so. If you check the code paths more closely, you'll see > that the timer is used even in the fast TSC case, the error causes by > too big 'count' variable propagates up to the TSC routine. That's where > I started hunting for the bug. >

Re: PATCH: killing read_ahead[]

2000-10-30 Thread Martin Dalecki
Linus Torvalds wrote: > > On Wed, 25 Oct 2000, Rik van Riel wrote: > > > > OTOH, block-dev readahead makes sense for filesystems where > > the packing locality is close to the access pattern BUT NOT > > close to anything the page cache would recognise as being > > close. > > I dunno. The main re

Re: ide/disk perf?

2000-10-30 Thread Mohammad Haque
Interesting theory, but no go here. I just remembered one other thing that may have an impact. I have a IBM-DTLA-307045 (~45 GB i think) hanging off the same channel as slave. The thing with that one is that if I try to do a lot of i/o on the disk..my machine locks up. Hard. alt-sysReq doesn't ev

Support for Compaq's NC3134 & NC3135 via the eepro100.o (82559 chip)?

2000-10-30 Thread J{rvensivu Riku
Hello, Compaq has a dual-port ethernet adapter which is based on the Intel 82559 (the chip used in the Intel Etherexpress Pro/100) as well as an addition module to this adapter with two extra ports usign the same chip. Any ideas what does the current kernel module say about this card (w/ and w/o

Re: ide/disk perf?

2000-10-30 Thread Mohammad Haque
At the bottom is the IDE/ATA part of my .config. let me knwo if I am missing something. Should I worry about the Multi_Mode configuration? Pierre Etchemaite wrote: > As a side note, I usually get better results tweaking disks using kernel > compiling options ("default to DMA", "autotune chipset",

kmalloc() allocation.

2000-10-30 Thread Richard B. Johnson
Hello, How much memory would it be reasonable for kmalloc() to be able to allocate to a module? Oct 30 10:48:31 chaos kernel: kmalloc: Size (524288) too large Using Version 2.2.17, I can't allocate more than 64k! I need to allocate at least 1/2 megabyte and preferably more (like 2 megabytes).

Re: kmalloc() allocation.

2000-10-30 Thread Tigran Aivazian
Hi Dick, Sorry, I thought you knew this already :) The maximum for kmalloc is 128K and is defined in mm/slab.c. It is trivial to "enhance" slab.c to support more but it is in practice not very useful because requesting too much physically-contiguous (which kmalloc is all about) memory is impossib

Re: kmalloc() allocation.

2000-10-30 Thread John Levon
On Mon, 30 Oct 2000, Richard B. Johnson wrote: > > Hello, > How much memory would it be reasonable for kmalloc() to be able > to allocate to a module? > > Oct 30 10:48:31 chaos kernel: kmalloc: Size (524288) too large > > Using Version 2.2.17, I can't allocate more than 64k! I need > to allo

Re: kmalloc() allocation.

2000-10-30 Thread Richard B. Johnson
On Mon, 30 Oct 2000, Tigran Aivazian wrote: > Hi Dick, > > Sorry, I thought you knew this already :) The maximum for kmalloc is 128K > and is defined in mm/slab.c. It is trivial to "enhance" slab.c to support > more but it is in practice not very useful because requesting too much > physically-c

Re: kmalloc() allocation.

2000-10-30 Thread Tigran Aivazian
On Mon, 30 Oct 2000, Richard B. Johnson wrote: > > So, if you don't need physically contiguous (and fast) allocations perhaps > > you could make use of vmalloc()/vfree() instead? There must be also some > > "exotic" allocation APIs like bootmem but I know nothing of them so I stop > > here. > > O

Re: kmalloc() allocation.

2000-10-30 Thread Rik van Riel
On Mon, 30 Oct 2000, Richard B. Johnson wrote: > How much memory would it be reasonable for kmalloc() to be able > to allocate to a module? > There are 256 megabytes of SDRAM available. I don't think it's > reasonable that a 1/2 megabyte allocation would fail, especially > since it's the first m

Re: kmalloc() allocation.

2000-10-30 Thread Richard B. Johnson
On Mon, 30 Oct 2000, John Levon wrote: > On Mon, 30 Oct 2000, Richard B. Johnson wrote: > > > > > Hello, > > How much memory would it be reasonable for kmalloc() to be able > > to allocate to a module? > > > > Oct 30 10:48:31 chaos kernel: kmalloc: Size (524288) too large > > > > Using Versi

Re: Linux-2.4.0-test9 not Open Source

2000-10-30 Thread David Woodhouse
On Sat, 28 Oct 2000, Mark Spencer wrote: > Now firstly, let's eliminate the ISDN red-herring from consideration > because the authors of the code do not place any additional restrictions > on the GPL whatsoever, they simply bring it to your attention that using > an un-certified ISDN stack may be

Re: Support for Compaq's NC3134 & NC3135 via the eepro100.o (82559chip) ?

2000-10-30 Thread Tigran Aivazian
On Mon, 30 Oct 2000, J{rvensivu Riku wrote: > Useless to mention, Compaq doesn't have linux drivers for this board. Why useless? It is the vendor's responsibility to write most efficient drivers for their hardware, at least that was the case with the previously popular systems like Windows and I

Re: kmalloc() allocation.

2000-10-30 Thread Jeff Garzik
"Richard B. Johnson" wrote: > Now, I could set up a linked-list of buffers and use vmalloc() > if the buffers were allocated from non-paged RAM. I don't think > they are. These buffers must be present during an interrupt. Non-paged RAM? I'm not sure what you mean by that. Both kmalloc and vmall

Re: kmalloc() allocation.

2000-10-30 Thread Tigran Aivazian
On Mon, 30 Oct 2000, Jeff Garzik wrote: > "Richard B. Johnson" wrote: > > Now, I could set up a linked-list of buffers and use vmalloc() > > if the buffers were allocated from non-paged RAM. I don't think > > they are. These buffers must be present during an interrupt. > > Non-paged RAM? I'm no

Re: Linux-2.4.0-test9 not Open Source

2000-10-30 Thread David Woodhouse
On Sat, 28 Oct 2000, Gregory Maxwell wrote: > See section 7 of the GPL. "If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all." But I can, so I may. See t

Re: kmalloc() allocation.

2000-10-30 Thread Jeff Garzik
Tigran Aivazian wrote: > > On Mon, 30 Oct 2000, Jeff Garzik wrote: > > > "Richard B. Johnson" wrote: > > > Now, I could set up a linked-list of buffers and use vmalloc() > > > if the buffers were allocated from non-paged RAM. I don't think > > > they are. These buffers must be present during an

2.2.18pre15 oops in find_buffer()

2000-10-30 Thread Mikael Pettersson
Is there any known bug in 2.2.18pre15 that could cause the following oops in fs/buffer.c:find_buffer() ? === snip === ksymoops 0.7c on i586 2.2.18pre15. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.2.18pre15/ (default) -

Re: [PATCH] kiobuf/rawio fixes for 2.4.0-test10-pre6

2000-10-30 Thread Jeff Garzik
Christoph Hellwig wrote: > +Locking down user memory and doing mass storage device IO with it is not > +the only purpose of kiobufs. Another use for kiobufs is allowing > +user-space mmaping dma memory, e.g in sound drivers. To do so you > +need to lock-down kernel virtual memory and refernece i

installing an ISR from user code

2000-10-30 Thread Brett Smith
We have written a char driver for our proprietary h/w. This driver handles a multitude of interrupts from the h/w in the following fashion: The ISR reads/saves the status register (indication of which int was hit) in global, and the marks the BH to run. The BH uses the global to call one of 32

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Andrea Arcangeli
On Mon, Oct 30, 2000 at 12:13:52PM +0100, Ingo Molnar wrote: > simple, write a TUX protocol module for it. FTP protocol module is on its > way. Stay tuned. TUX modules are kernel modules (I mean you have to write kernel space code for doing TUX ftp). Don't you agree that zero-copy sendfile like f

Re: 2.2.18pre15 oops in find_buffer()

2000-10-30 Thread adrian
I also just got this Oops, but with 2.2.18pre18. Note: vmware was not loaded :) Unable to handle kernel paging request at virtual address 009e current->tss.cr3 = 108e5000, %cr3 = 108e5000 *pde = Oops: CPU:0 EIP:0010:[] EFLAGS: 00010206 eax: 009e ebx: 0007

Re: 2.2.18Pre Lan Performance Rocks!

2000-10-30 Thread Chris Evans
On Mon, 30 Oct 2000, Andrea Arcangeli wrote: > functionality that needs high performance completly in kernel? People > may need to write high performance network code for custom protocols, > this way they will end creating kernel modules with system-crashing > bugs, memory leaks and kernel buffe

  1   2   3   >