[PATCH]: Only one memory zone for sparc64

2001-03-15 Thread Anton Blanchard
Hi, On sparc64 we dont care about the different memory zones and iterating through them all over the place only serves to waste CPU. I suspect this would be the case with some other architectures but for the moment I have just enabled it for sparc64. With this patch I get close to a 1% improvem

[PATCH] add missing KERN_xxx to /linux/fs

2001-03-15 Thread Andrey Panin
Hi all, IMHO subject is self explaining :) Best regards. -- Andrey Panin| Embedded systems software engineer [EMAIL PROTECTED]| PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc diff -ur linux.vanilla/fs/buffer.c linux/fs/buffer.c --- linux.vanilla/fs/buffer.c Thu Ma

Re: [Linux-fbdev-devel] [RFC] fbdev & power management

2001-03-15 Thread Geert Uytterhoeven
On Wed, 14 Mar 2001, James Simmons wrote: > >>So the fbdev drivers would register PM with fbcon, not PCI, correct? > > > >Either that, or the fbdev would register with PCI (or whatever), _and_ > >fbcon would too independently. In that scenario, fbcon would only handle > >things like disabling the

[patch] console and bust_spinlocks() fixes

2001-03-15 Thread Andrew Morton
Three things. - Adds lib/bust_spinlocks.c for architectures which don't provide bust_spinlocks() . - Closes a race between tioclinux() and console scrolling which was leaving bits of stuff on the screen when the mouse was used with gpm. - Added a missing break statement in do_syslog() (J

Re: [OOPS] 8139too

2001-03-15 Thread Philipp Matthias Hahn
On Wed, 14 Mar 2001, Manfred Spraul wrote: > > after APM laptop suspend to disk > > 8139too is build-in, not pcmcia > > I often get hangups after suspend-to-disk if I'm connected to a > > hub/switch. > > This is the first oops I've actually seen and copied it by hand: > Was the nic connected or n

Re: [PATCH] Improved version reporting

2001-03-15 Thread Andries . Brouwer
From: "Albert D. Cahalan" <[EMAIL PROTECTED]> > On Wed, 14 Mar 2001 [EMAIL PROTECTED] wrote: >>> +o Console Tools # 0.3.3# loadkeys -V >>> +o Mount # 2.10e# mount --version >> >> Concerning mount: (i) the version mentioned is too ol

[PATCH] fbdev init sequence

2001-03-15 Thread Geert Uytterhoeven
Another patch from FISPET (The Fbdev Initialization Sequence Policy Enforcement Team :-). The following frame buffer devices do not use resource management yet: - radeonfb (ATI Radeon): resource management calls are commented out (why? Got no response from Ani) - pmag-ba-fb (PMAG-BA Tur

Utility for re-patritioning

2001-03-15 Thread Dragan Milenkovic
Since Linus has said that we need Swap = 2xRAM, and I bought some RAM, I need to enlarge my swap partition. Which utility should I use to resize my (ext2) partitions (possibly without data corruption:) ? -- Dragan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

kernel 2.4.2 network performances

2001-03-15 Thread Jerome Tollet
Hello, i have a problem with the network layer of linux kernel 2.4.2 I wrote a minimalist program which basically sends UDP datagrams over the network in an infinite loop. Under Linux 2.2.x, this program floods the network and my xosview prints that 12 MB/s are sent over my 100Mbit ethernet. Unde

Re: Bug in 2.2.19pre16 : bad interaction between sound and APM

2001-03-15 Thread Éric Brunet
In ens.mailing-lists.linux-kernel, I wrote: >A friend of mine has a toshiba 320CDT laptop, with a redhat 6.1 >installed. In order to be able to use the USB port, I have compiled on it >a 2.2.19pre16 kernel. It all works very well except that I cannot get >sound working after the laptop has been in

pthread support!!

2001-03-15 Thread Greeen-III
Hi all,   I try to run the test program which created the thread on MIPS machine. But It always halt on call libpthread.so.0. It was suspended when run into the thread function. Even, "printf" didn't work. I use the following for the case. After the kernel load libpthread.so.0, process stoppe

Re: [PATCH] Improved version reporting

2001-03-15 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > > On Wed, 14 Mar 2001 [EMAIL PROTECTED] wrote: > > >>> +o Console Tools # 0.3.3# loadkeys -V > >>> +o Mount # 2.10e# mount --version > >> > >> Concerning mount: (i) the version mentioned is too old, > On the

Re: Utility for re-patritioning

2001-03-15 Thread Anton Altaparmakov
At 10:17 15/03/01, Dragan Milenkovic wrote: >Since Linus has said that we need Swap = 2xRAM, >and I bought some RAM, I need to enlarge my swap partition. >Which utility should I use to resize my (ext2) partitions >(possibly without data corruption:) ? Have a look at gnu parted (ftp.gnu.org/gnu/pa

Re: [Linux-fbdev-devel] [RFC] fbdev & power management

2001-03-15 Thread Benjamin Herrenschmidt
> Now for fbcon its simpler. Things get writing to the shadow buffer >(vc_screenbuf). When the console gets woken up update_screen is called. >While power down the shadow buffer can be written to which is much faster >than saving a image of the framebuffer. Of course if you still want to do >this

Core dumps for threads: Request for your patch (hack)

2001-03-15 Thread bsuparna
> >(I have a complimentary hack that will dump the stacks of all the >rest of the threads as well (though its a good trick to get gdb to >interpret this). Available upon request.) > Hello Adam, Could I take a look at your patch ? Regards Suparna Suparna Bhattacharya IBM Software Lab, Indi

Re: [Linux-fbdev-devel] [RFC] fbdev & power management

2001-03-15 Thread Geert Uytterhoeven
On Thu, 15 Mar 2001, Benjamin Herrenschmidt wrote: > One problem I have is that my fbdev sleep routine will restore the mode > on wakeup, > but that of course doesn't work with X when not using useFBDev as fbdev > have no > knowledge of the current mode or register settings used by X. That's a bu

Glenn Herrin's IP Networking document

2001-03-15 Thread John Levon
I have had many people asking after an HTML version of this document. Glenn finally contacted me and a full HTML version with the diagrams is now available at http://www.kernelnewbies.org/ john -- "24-hour boredom I'm convicted instantly" - Manic Street Preachers - To unsubscribe fro

Re: Kernel stress testing coverage

2001-03-15 Thread Anton Blanchard
Hi, > Are you talking about the same posix test suite that LSB is using? I've > looked into that a little, but here are the two problems I'm wanting to > address: > > 1. How much of the kernel is getting hit on a run of any given test? Even > an approximate percentage is fine as long as I ca

Re: 2.4.2 + aic7xxx still broken

2001-03-15 Thread Igor Mozetic
Doug Ledford writes: > Either one should work. Try it with the UP_IOAPIC support enabled and see if > that helps. If it doesn't, then I would try Justin's driver and see if it > works. Thanks, the machine now boots. I'm using 2.4.3-pre3 + linux-aic7xxx-6.1.7 (UP on SMP board) with the follo

Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Mike A. Harris
Is the fact that we're supposed to use double the RAM size as swap a permanent thing or a temporary annoyance that will get tweaked/fixed in the future at some point during 2.4.x perhaps? What are the technical reasons behind this change? Just curious as I see a lot of people are complaining abo

Re: (struct dentry *)->vfsmnt;

2001-03-15 Thread bsuparna
>Actually, I'm pretty sure you _never_ need to exportvg in order to have >it work on another system. That's one of the great things about AIX LVM, >because it means you can move a VG to another system after a hardware >problem, and not have any problems importing it (journaled fs also helps). >

Re: [PATCH]: Only one memory zone for sparc64

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Anton Blanchard wrote: > On sparc64 we dont care about the different memory zones and iterating > through them all over the place only serves to waste CPU. I suspect > this would be the case with some other architectures but for the > moment I have just enabled it for sparc64

Re: Linux on the Unisys ES7000 and CMP2 machines?

2001-03-15 Thread Rik van Riel
On Wed, 14 Mar 2001, Dan Kegel wrote: > (When the two people he was talking to asked about Linux on the > machine, he said "We feel Linux can't do enterprise-level stuff like > this." He got a little defensive when we questioned his judgement.) Heh. If Linux 2.2 was his only experience with the

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, [ISO-8859-1] Mårten Wikström wrote: > I've performed a test on the routing capacity of a Linux 2.4.2 box > versus a FreeBSD 4.2 box. I used two Pentium Pro 200Mhz computers with > 64Mb memory, and two DEC 100Mbit ethernet cards. I used a Smartbits > test-tool to measure the p

changing mm->mmap_sem (was: Re: system call for process information?)

2001-03-15 Thread Rik van Riel
On Wed, 14 Mar 2001, Rik van Riel wrote: > On Wed, 14 Mar 2001, george anzinger wrote: > > > Is it REALLY necessary to prevent them from seeing an > > inconsistent state? Seems to me that in the total picture (i.e. > > system wide) they will never see a consistent state, so why be > > concerned

DMA Speed Select Problem (a bug ?)

2001-03-15 Thread Ingo Rohloff
Hi, First of all I'm using linux-2.4.2. After various reboots and frustration I finally found out, why my machine did hang, as soon as I tried to burn a CD on my ATAPI CD Burner. Now I know why: A look at /proc/ide/hdc relveals that init_speed = 66 Which is wrong, because my CDBurner is only ca

RE: [PATCH] fix a bug in ioctl(CDROMREADAUDIO) in cdrom.c in 2.2

2001-03-15 Thread Pierre Etchemaite
Le 14-Mar-2001, Jani Jaakkola écrivait : > > Using ioctl(CDROMREADAUDIO) with nframes argument being larger than 8 and > not divisible by 8 causes kernel to read and return more audio data than > was requested. This is bad since it clobbers up processes memory > (I noticed this when my patched c

OOPS when switching consoles while closing X.

2001-03-15 Thread Matt Johnston
Hi. I've had a semi-reproducable oops with the kernel. It happens when I'm shutting down X (Xfree86 4.02 cvs), while it is closing all open apps (KDE 2.1.1 cvs). I switch to a text console (ctrl-alt-F2 etc), and it crashes almost as soon as the text console is there. I've noticed it with 2.4.

reiserfs-oops; kernel 2.4.3-pre4

2001-03-15 Thread Andreas Klein
hello, I got the following oops: ksymoops 2.4.0 on i686 2.4.3-pre4. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.3-pre4/ (default) -m /boot/System.map-2.4.3-pre4 (default) Warning: You did not tell me where to find s

Re: (struct dentry *)->vfsmnt;

2001-03-15 Thread bsuparna
>Because this is totally filesystem specific - why put extra knowledge >of filesystem internals into mount? I personally don't want it writing >into the ext2 or ext3 superblock. How can it possibly know what to do, >without embedding a lot of knowledge there? Yes, mount(8) can _read_ >the UUID

Re: kernel 2.4.2 network performances

2001-03-15 Thread Sampsa Ranta
On Thu, 15 Mar 2001, Jerome Tollet wrote: > Hello, i have a problem with the network layer of linux kernel 2.4.2 > I wrote a minimalist program which basically sends UDP datagrams over > the network in an infinite loop. > Under Linux 2.2.x, this program floods the network and my xosview prints >

Re: another Cyrix/mtrr problem?

2001-03-15 Thread Bob_Tracy
David Wragg wrote: > [EMAIL PROTECTED] (Bob_Tracy) writes: > > echo "base=0xd800 size=0x10 type=write-combining" >| /proc/mtrr > > > > I get a 2MB region instead of the 1MB region I expected... > > Oops, it got broken by the MTRR >32-bit support in 2.4.0-testX. The > patch below should

Re: IDE poweroff -> hangup

2001-03-15 Thread Richard B. Johnson
On Thu, 15 Mar 2001, Pozsar Balazs wrote: > > Hi all, > > I was courious, and I tried what happens if I power down my harddisk (ie > manually pull the power plug out), and then power it on again after a few > secs (put the plug back). > > I do not know if the system should survive happily such

A simple question on buffer/cache

2001-03-15 Thread Zou Min
Hi, Just wonder what exactly the difference between buffer and cache in linux memory management is. Cache is used for filesystems, so that files read from a fs are kept in memory in order to provide faster access next time. Then what is buffer used for? As executables are also kept in memory, ar

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Ketil Froyn
On Thu, 15 Mar 2001, Mike A. Harris wrote: > Is the fact that we're supposed to use double the RAM size as > swap a permanent thing or a temporary annoyance that will get > tweaked/fixed in the future at some point during 2.4.x perhaps? You're not supposed to do anything, that's just a general r

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread John Jasen
On Wed, 14 Mar 2001, Richard B. Johnson wrote: > This used to even be the way disks were located by the kernel > drivers. Now, these are found in some "random" order. > > If whatever is causing the "random" order was fixed, put back like > it used to be, etc., we wouldn't have these problems. An

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Mike A. Harris wrote: > Is the fact that we're supposed to use double the RAM size as > swap a permanent thing or a temporary annoyance that will get > tweaked/fixed in the future at some point during 2.4.x perhaps? > > What are the technical reasons behind this change? The

Re: OOPS when switching consoles while closing X.

2001-03-15 Thread Andrew Morton
Matt Johnston wrote: > > Hi. > > I've had a semi-reproducable oops with the kernel. It happens when I'm > shutting down X (Xfree86 4.02 cvs), while it is closing all open apps (KDE > 2.1.1 cvs). I switch to a text console (ctrl-alt-F2 etc), and it crashes > almost as soon as the text console is

ide-scsi: CoD != 0 in idescsi_pc_intr... -- what is this?

2001-03-15 Thread Pozsar Balazs
Hi all, While copying a CD into harddisk, I got the following in the syslog (and on the console): Mar 15 14:36:23 brefatox kernel: ide-scsi: CoD != 0 in idescsi_pc_intr Mar 15 14:36:23 brefatox kernel: hde: ATAPI reset complete Mar 15 14:36:23 brefatox kernel: hde: status error: status=0x51 { D

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
Rik van Riel writes: > On Thu, 15 Mar 2001, [ISO-8859-1] Mårten Wikström wrote: > > > I've performed a test on the routing capacity of a Linux 2.4.2 box > > versus a FreeBSD 4.2 box. I used two Pentium Pro 200Mhz computers with > > 64Mb memory, and two DEC 100Mbit ethernet cards. I used a S

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Mike Harrold
> The reason is that the Linux 2.4 kernel no longer reclaims swap > space on swapin (2.2 reclaimed swap space on write access, which > lead to fragmented swap space in lots of workloads). > > This means that a lot of memory ends up "duplicated" in RAM and > in swap. > > I plan on doing some code

Drvie Corruption CONSTANTLY with Linux and KT7-RAID

2001-03-15 Thread Peter DeVries
Please help.. I'm at the end of my rope with this now. I have rebuilt this system and corupted my drive at least 30 times now. I have a ABIT KT7-RAID and no matter what I do with any kernel 2.2.16 - 2.4.2-ac19 as soon as I turn on DMA mode the drive starts to corrupt and becomes useless. The co

Re: reiserfs-oops; kernel 2.4.3-pre4

2001-03-15 Thread Chris Mason
On Thursday, March 15, 2001 02:00:11 PM +0100 Andreas Klein <[EMAIL PROTECTED]> wrote: [ oops ] >>> EIP; c016f090<= > Trace; c0160046 > Trace; c015c8a8 > > The machine is running linux-2.4.3-pre4 including the reiserfs-patches > from Alexander Zarochentcev. Ah, I see. objectid-sh

Re: Core dumps for threads: Request for your patch (hack)

2001-03-15 Thread Otto Fung
Hello, Can I get a copy of your patch, too? On Thu, 15 Mar 2001 [EMAIL PROTECTED] wrote: > > > > >(I have a complimentary hack that will dump the stacks of all the > >rest of the threads as well (though its a good trick to get gdb to > >interpret this). Available upon request.) > > > > Hello

Performance is weird (fwd)

2001-03-15 Thread Sampsa Ranta
-- Subject: Performance is weird The following message was first posted to linux-atm mailing list, it is followed with one of the replies I got, thanks Werner Almesberger <[EMAIL PROTECTED]>. Actually, with 2.4.3pre4 kernel I got something like 66Mbit/s which were better than the 2.4.2 results. -

Need help with allocating a 2M buffer size

2001-03-15 Thread Byron Stanoszek
I have a real picky tape drive (DLT series) that likes to be fed large chunks of data at once, otherwise after every 2-4KB of data it halts and rewinds itself because its cache for writing to the tape is empty. My best solution to this problem was to use 'tar -b 4096', which sends 4096 x 512-byte

Re: Drvie Corruption CONSTANTLY with Linux and KT7-RAID

2001-03-15 Thread Jonathan Morton
>At this point I am 100% lost. any help would be >greatly appreciated. I am willing to do any testing >of the system that anyone may need. Currently I have >no working copy of linux on the sytem. My normal >process to get running is to install slackware. >download 2.4.2 and the latest ac patch

task switch hook - crashes

2001-03-15 Thread Krisztian Flautner
I am experimenting with adding a few hooks to the kernel. One of the hooks gets invoked every time the kernel switches two tasks. To do this I added a single line to schedule() right before the tasks are switched: ... if (task_switch_hook) task_switch_hook(prev, next) switch_t

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread christophe barbe
Please Rik, could you explain what you mean with "reclaim swap space when we run out". In my (limited) understanding, when there's no more free memory (ram and swap space), the kernel starts to kill process (and the choice is a difficult point). Are you proposing to add an API to reclaim swap ins

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, christophe barbe wrote: > Please Rik, could you explain what you mean with "reclaim swap > space when we run out". In my (limited) understanding, when > there's no more free memory (ram and swap space), the kernel > starts to kill process (and the choice is a difficult point)

VIA686A chipset crash under 2.4.2-ac20

2001-03-15 Thread kozkir-8
Kernel 2.4.2 with ac20 patch seems doesn't like my motherboard I have FIC SD11 with VIA686A chipset. I compiled it with support of VIA82Cxxx and DMA support by default. First it seemed like work but after a while I started to get errors like these: kernel: hda: dma_intr: status=0x51 { DriveReady

Re: OOPS when switching consoles while closing X.

2001-03-15 Thread Matt Johnston
Ok. I had -ac20 sources installed, but was using -ac17 results, so I guess it would look wrong... Attached now is the -ac20 ksymoops output, using correct System.map, though I'm not sure about: "Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(shmem_file_setup) not found in Syste

Re: Need help with allocating a 2M buffer size

2001-03-15 Thread Richard B. Johnson
On Thu, 15 Mar 2001, Byron Stanoszek wrote: > I have a real picky tape drive (DLT series) that likes to be fed large chunks > of data at once, otherwise after every 2-4KB of data it halts and rewinds > itself because its cache for writing to the tape is empty. > > My best solution to this proble

pivot_root & linuxrc problem

2001-03-15 Thread Art Boulatov
Hi, may be thats a bug, or I'm doing something really wrong :) from Documentation/initrd.txt: "# cd /new-root # mkdir initrd # pivot_root . initrd Now, the linuxrc process may still access the old root via its executable, shared libraries, standard input/output/error, and its current roo

Re: How to optimize routing performance

2001-03-15 Thread Martin Josefsson
On Thu, 15 Mar 2001, Rik van Riel wrote: > On Thu, 15 Mar 2001, [ISO-8859-1] Mårten Wikström wrote: > > > I've performed a test on the routing capacity of a Linux 2.4.2 box > > versus a FreeBSD 4.2 box. I used two Pentium Pro 200Mhz computers with > > 64Mb memory, and two DEC 100Mbit ethernet ca

Hardware problem detection? Linux 2.4.3-pre4 lockups.

2001-03-15 Thread Nathan Black
I am at a total loss, But I have found some interesting anomalies with my hardware. My Current Setup: Supermicro S370DE6 (Serverworks Chipset) Dual PIII 866 2 x 256 MB PC133 ECC SDRAM onboard AIC 7899 SCSI Controller. 36G,73GB Seagate Cheetah Drive. Voodoo4 4500 AGP video, Fore PCA 200e ATM

Network init script causes 2.2.18 kernel oops (tulip driver)

2001-03-15 Thread Matthew Callaway
Greetings, This is a reproducible oops, and my guess is that it's related to the tulip driver included in the 2.2.18 source tree. We're using a D-Link 4 port NIC, and it appears that it doesn't work well with IPV6 interfaces. Keywords: linux kernel-2.2.18 tulip D-Link 4-port NIC DFE-570 TX Re

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread christophe barbe
Ok I understand better now. So when we swap in, the place is still reserved in swap for the next time we swap off the same memory part. The swap is freed only when the owner terminates. Then when we need more memory, we need to swap off but we don't use the duplicated part. I understand that it

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Torrey Hoffman
IIRC, when this discussion of swap size first came up, the general conclusion was NOT that you should have swap = 2 * RAM, but that you should have swap(2.4.x) = 2 * swap(2.2.x), that is, twice as much swap as you did under 2.2.x. So if you never swapped at all under 2.2.x, you should not need

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Robert Olsson wrote: > CONFIG_NET_HW_FLOWCONTROL enables kernel code for it. But device > drivers has to have support for it. But unfortunely very few drivers > has support for it. Isn't it possible to put something like this in the layer just above the driver ? It proba

Re: Hardware problem detection? Linux 2.4.3-pre4 lockups.

2001-03-15 Thread Chris Meadors
On Thu, 15 Mar 2001, Nathan Black wrote: > I am at a total loss, But I have found some interesting anomalies with my > hardware. That is about how I was feeling when I had similar problems. > My Current Setup: > Supermicro S370DE6 (Serverworks Chipset) > Dual PIII 866 > 2 x 256 MB PC133 ECC SDR

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Mike Harrold wrote: > 1) If a process uses swap space and then later (after being paged >into memory -- or even not) it completes, is killed, etc., is >the swap space reclaimed then? > > 2) If a process uses swap, is paged into memory, and is then swapped >out aga

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread James Lewis Nance
On Thu, Mar 15, 2001 at 08:26:35PM -0300, Rik van Riel wrote: > When we swap something in from swap, it is in effect "duplicated" > in memory and swap. Freeing the swap space of these duplicates > will mean we have, effectively, more swap space. Hi Rik, Thanks for the explanation. It brings

2.2.19 pre13 doesn't like retransmitted SYN ACK packets

2001-03-15 Thread Zack Weinberg
2.2.19 pre13 sends an RST in response to a retransmitted SYN ACK which arrives after we've sent out the final ACK of the handshake. For example: tcpdump: listening on eth0 15:15:15.075670 wolery.Stanford.EDU.1341 > plan9.bell-labs.com.www: S 1057306555:1057306555(0) win 32120 (D

Re: Network init script causes 2.2.18 kernel oops (tulip driver)

2001-03-15 Thread Jeremy Jackson
Matthew Callaway wrote: > Greetings, > > This is a reproducible oops, and my guess is that it's related to > the tulip driver included in the 2.2.18 source tree. We're using > a D-Link 4 port NIC, and it appears that it doesn't work well with > IPV6 interfaces. I have had problems with this NIC

Re: poll() behaves differently in Linux 2.4.1 vs. Linux 2.2.14 (POLLHUP)

2001-03-15 Thread kuznet
Hello! > Sure, workarounds exist, but they just complicates > things. Working around --- what? An example of application hitting the case is enough to make me completely agreed. But genarally we are not going to match any os and even yourselves yesterday or tomorrow in the cases when behaviour

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Just my .02 - There are some scheduler patches that are not part of the main kernel tree at this point (mostly since they have yet to be optimized for the common case) which make quite a big difference under heavy load - you might want to check out: http://lse.sourceforge.net/scheduling/ cu

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, James Lewis Nance wrote: > On Thu, Mar 15, 2001 at 08:26:35PM -0300, Rik van Riel wrote: > > When we swap something in from swap, it is in effect "duplicated" > > in memory and swap. Freeing the swap space of these duplicates > > will mean we have, effectively, more swap space

Re: Performance is weird (fwd)

2001-03-15 Thread Manfred Spraul
One difference between idle and a running user space app is that the kernel->user space return path checks for pending softirqs, but the ide thread doesn't. Perhaps cpu_idle() should also check for pending softirq's before hlt'ing? idle thread is running. * hw interrupt * * hw interrupt handler

Re: Bug in 2.2 update_vm_cache_conditional?

2001-03-15 Thread Andrea Arcangeli
On Wed, Mar 14, 2001 at 06:49:33PM +0100, [EMAIL PROTECTED] wrote: > that manifests itself only on S/390: I guess it could trigger also on sparc. > Do you agree that this is a bug? What do you think of this fix: That's a severe bug, fix is obviously right. Andrea - To unsubscribe from this li

Re: Remote Management (was Re: Alert on LAN)

2001-03-15 Thread Terje Malmedal
[Chip Salzenberg] > IBM says, as quoted by Terje Malmedal: >> With the latest release, Alert on LAN 2 now extends IT >> capabilities to remotely manage and control their >> networked PCs: >> >> Remote system reboot upon report of a critical failure >> Repair Operating System >> Update BIOS ima

VIA audio and parport in 2.4.2

2001-03-15 Thread Will Newton
I have a Asus K7V motherboard and a SB 128 PCI soundcard. The motherboard is vt82c686a based. The SB is a ES1371/AC97 card, seemingly identical to the onboard sound on this type of motherboard. However, the sound rarely works, and there are problems with the parport too. Sound does not work (usu

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
[Sorry for the length] Rik van Riel writes: > On Thu, 15 Mar 2001, Robert Olsson wrote: > > > CONFIG_NET_HW_FLOWCONTROL enables kernel code for it. But device > > drivers has to have support for it. But unfortunely very few drivers > > has support for it. > > Isn't it possible to put

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, J Sloan wrote: > There are some scheduler patches that are not part of the > main kernel tree at this point (mostly since they have yet to > be optimized for the common case) which make quite a big > difference under heavy load - you might want to check out: > > http://ls

Re: Remote Management (was Re: Alert on LAN)

2001-03-15 Thread Chip Salzenberg
According to Terje Malmedal: > I am aware of some motherboards where you can configure the BIOS via > RS232. What I want is some way to actually reset a machine that is > hung. That's possible with VACM-style management. It's not just for BIOS. -- Chip Salzenberg - a.k.a. -

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Rik van Riel wrote: > On Thu, 15 Mar 2001, J Sloan wrote: > > > There are some scheduler patches that are not part of the > > main kernel tree at this point (mostly since they have yet to > > be optimized for the common case) which make quite a big > > difference under heavy load - you might want

Re: __lock_page calls run_task_queue(&tq_disk) unecessarily? (fwd)

2001-03-15 Thread Marcelo Tosatti
Linus, I never got I answer from you, so I'm going to ask again. Do you want this patches for 2.4 or not ? Yes, I tested them. -- Forwarded message -- Date: Mon, 19 Feb 2001 23:05:23 -0200 (BRST) From: Marcelo Tosatti <[EMAIL PROTECTED]> To: Linus Torvalds <[EMAIL PROTECTE

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, J Sloan wrote: > Rik van Riel wrote: > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > http://lse.sourceforge.net/scheduling/ > > > > Unrelated. Fun, but unrelated to networking... > > Fun, yes, and perhaps not directly related, however > under high load, where the sheer

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, William T Wilson wrote: > it seems to me that in 2.2.x it looks like this: > > total usage == swap + RAM > under 2.4.x it looks like: > total usage == swap total usage == maximum(swap, ram) Rik -- Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml Virtual memory is li

Re: Need help with allocating a 2M buffer size

2001-03-15 Thread Kai Makisara
On Thu, 15 Mar 2001, Byron Stanoszek wrote: > I have a real picky tape drive (DLT series) that likes to be fed large chunks > of data at once, otherwise after every 2-4KB of data it halts and rewinds > itself because its cache for writing to the tape is empty. > > My best solution to this problem

Re: How to optimize routing performance

2001-03-15 Thread Jonathan Morton
> And we have done experiments with controlling interrupts and running > the RX at "lower" priority. The idea is take RX-interrupt and immediately > postponing the RX process to tasklet. The tasklet opens for new RX-ints. > when its done. This way dropping now occurs outside the box since and > d

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Rik van Riel wrote: > On Thu, 15 Mar 2001, J Sloan wrote: > > > Fun, yes, and perhaps not directly related, however > > under high load, where the sheer numbet of interrupts > > per second begins to overwhelm the kernel, might it > > not be relevant? > > No. > > > Or are you saying that the bottl

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread William T Wilson
On Thu, 15 Mar 2001, Torrey Hoffman wrote: > IIRC, when this discussion of swap size first came up, the general > conclusion was NOT that you should have swap = 2 * RAM, but that you > should have swap(2.4.x) = 2 * swap(2.2.x), that is, twice as much swap > as you did under 2.2.x. it seems to me

Kernel 2.4.2

2001-03-15 Thread Ted Gervais
A simple question for you guru's.. I just installed kernel 2.4.2 on a slackware system and have a problem with loading a module. It is the 8139too.o module previously the rtl8139.o. It seems that this new driver is not being loaded with this new kernel. Obviously something has changed but I ca

Re: How to optimize routing performance

2001-03-15 Thread Gregory Maxwell
On Thu, Mar 15, 2001 at 11:17:19AM -0800, J Sloan wrote: > Rik van Riel wrote: > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > There are some scheduler patches that are not part of the > > > main kernel tree at this point (mostly since they have yet to > > > be optimized for the common case) whi

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Gregory Maxwell wrote: > The scheduler schedules tasks not interrupts. Unless it manages to thrash the > cache, the scheduler can not affect routing performance. OK, thanks for the clarification - I need to get into the source. cu Jup - To unsubscribe from this list: send the line "unsubscrib

Re: How to optimize routing performance

2001-03-15 Thread Mike Kravetz
On Thu, Mar 15, 2001 at 11:17:19AM -0800, J Sloan wrote: > Rik van Riel wrote: > > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > There are some scheduler patches that are not part of the > > > main kernel tree at this point (mostly since they have yet to > > > be optimized for the common case)

Re: Kernel 2.4.2

2001-03-15 Thread John Jasen
On Thu, 15 Mar 2001, Ted Gervais wrote: > Anyways - to get things to work, I have put added this statement to the > top of my /etc/rc.d/rc.inet1 file: > > insmod /usr/src/linux/drivers/net/8139too.o. install a later version of modutils, as the /lib/modules directory tree has changed between 2.2.

Re: Performance is weird (fwd)

2001-03-15 Thread Manfred Spraul
I've attached a patch. I tried to trigger the problem with my 10 MBit ne2k-pci connection, but without success. Could you try it? I've tested it with -ac17, and it applies to 2.4.2 cleanly. -- Manfred --- 2.4/arch/i386/kernel/process.c Thu Feb 22 22:28:52 2001 +++ build-2.4/arch/i3

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
Jonathan Morton writes: > Nice. Any chance of similar functionality finding its' way outside the > Tulip driver, eg. to 3c509 or via-rhine? I'd find those useful, since one > or two of my Macs appear to be capable of generating pseudo-DoS levels of > traffic under certain circumstances wh

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread LA Walsh
The not reclaiming swap space is flawed in more than once instance. Suppose my P1 and P2 have their swap reserved -- now both grow. P3 is idle but can't fit in swap. This is going to result in fragmentation no? How is this fragmentation less worse than just freeing swap. Ever since Ram sizes go

Re: 2.2.19 pre13 doesn't like retransmitted SYN ACK packets

2001-03-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Mar 2001, Zack Weinberg wrote: > 2.2.19 pre13 sends an RST in response to a retransmitted SYN ACK which > arrives after we've sent out the final ACK of the handshake. For > example: Ah, that would explain the extremely crappy network conectivity I observed with 2.2.19preX, X < 17 (15

RE: How to optimize routing performance

2001-03-15 Thread Jonathan Earle
> > Or are you saying that the bottleneck is somewhere > > else completely, > > Indeed. The bottleneck is with processing the incoming network > packets, at the interrupt level. Where is the counter for these dropped packets? If we run a few mbit of traffic through the box, we see noticeble p

ANNOUNCE: Journalling Flash File System, v2.

2001-03-15 Thread David Woodhouse
Well, it's been almost a week since the latest stupid bug was found in the JFFS2 code, so I suppose it's time to admit to the world that it exists. JFFS2, developed by Red Hat, is a complete reimplementation of a journalling filesystem for FLASH devices, based on the original JFFS from Axis Co

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, LA Walsh wrote: > The not reclaiming swap space is flawed in more than once > instance. I want it fixed, but don't have much time for it now. Patches are welcome, though. regards, Rik -- Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml Virtual memory is like a game

Re: How to optimize routing performance

2001-03-15 Thread jamal
On Thu, 15 Mar 2001, Robert Olsson wrote: > > > Jonathan Morton writes: > > > Nice. Any chance of similar functionality finding its' way outside the > > Tulip driver, eg. to 3c509 or via-rhine? I'd find those useful, since one > > or two of my Macs appear to be capable of generating pseudo

Re: State of RAID (and the infamous FastTrak100 card)

2001-03-15 Thread Wilfried Weissmann
Jakob Østergaard wrote: > > So... am I just begging for pain if I try to install, say, a stock RH7 > > on a machine with the FastTrak100 doing it's little RAID0/JBOD thing? > > If it requires this machine to always boot from a floppy because the driver > > cannot be linked into the kernel, well, I

Linux Patch 2.4.2 for AVM A1 PCMCIA

2001-03-15 Thread Jochen Friedrich
Hello, this patch includes the ISDN driver for AVM A1 PCMCIA from Carsten Paeth into the linux kernel sources. Without the patch, it might be confusing for a user to be able to select AVM A1 PCMCIA support for the kernel, but it still doesn't work (because the PCMCIA part is missing). Cheers, Jo

Re: State of RAID (and the infamous FastTrak100 card)

2001-03-15 Thread Thomas Dodd
Wilfried Weissmann wrote: > > Jakob Østergaard wrote: > > > So... am I just begging for pain if I try to install, say, a stock RH7 > > > on a machine with the FastTrak100 doing it's little RAID0/JBOD thing? > > > If it requires this machine to always boot from a floppy because the driver > > > ca

Re: pivot_root & linuxrc problem

2001-03-15 Thread Mike Galbraith
On Thu, 15 Mar 2001, Art Boulatov wrote: > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > if "linuxrc" does not get PID=1? > > Actually, why does NOT "linuxrc" get PID=1? That's the question.. the first task started gets pid=1, and when that is true, exec /sbin/init has no proble

  1   2   >