Re: Limiting Disck Cache

2004-12-17 Thread Steve Lamb
Ron Johnson wrote: Yeah: it's felony asault to whack him with a stick for being a ricer or a lame Mandrake expat (or both). :P Neither. He's just been indoctorated by years of FreeBSD's makeworld. I got to hear him crow over how his 2nd stage was done compiling and then how fast it went aw

Re: Limiting Disck Cache

2004-12-17 Thread Ron Johnson
On Fri, 2004-12-17 at 13:30 -0800, Steve Lamb wrote: > Nate Duehr wrote: > > So we yanked the UML's and just went with a single shared box and some > > rules about who could change what. > > Rats, was hoping for some pointers here. A friend and I are looking > into > splitting a dedicated

Re: Limiting Disck Cache

2004-12-17 Thread Steve Lamb
Nate Duehr wrote: So we yanked the UML's and just went with a single shared box and some rules about who could change what. Rats, was hoping for some pointers here. A friend and I are looking into splitting a dedicated server in half with 2 UMLs. We'd retain our presence out on the net for

Re: Limiting Disck Cache

2004-12-17 Thread Nate Duehr
Ivan Garcia wrote: --- Nate Duehr <[EMAIL PROTECTED]> escribió: Steve Lamb wrote: * A machine whose sole purpose is to host UMLs being the one case I can think of that would require the OS to not use cache. This is because the UMLs themselves are caching the files

Re: Limiting Disck Cache

2004-12-16 Thread Paul Johnson
On Thursday 16 December 2004 4:35 pm, Ivan Garcia wrote: > --- Nate Duehr <[EMAIL PROTECTED]> escribió: > > > Uggh... I ran into that when experimenting with > > UML's. Good lord, it > > hurt performance badly. > Does it mean that it's posible? > > So how does it work? Again, unless you have

Re: Limiting Disck Cache

2004-12-16 Thread Ivan Garcia
--- Nate Duehr <[EMAIL PROTECTED]> escribió: > Steve Lamb wrote: > > > * A machine whose sole purpose is to host UMLs > being the one case I can > > think > > of that would require the OS to not use cache. > This is because the UMLs > > themselves are caching the files thus there is no > need

Re: Limiting Disck Cache

2004-12-16 Thread Roel Schroeven
Ivan Garcia Sainz-Aja wrote: On Wed, Dec 15, 2004 at 11:26:14PM +, Ivan Garcia Sainz-Aja wrote: At the moment of that cat /proc/meminfo i was only coping an mpeg file from the cdrom to usb hd and just surfing the web when the mouse start responding funy so i just stoped tomcat and eclipse but t

Re: Limiting Disck Cache

2004-12-15 Thread Nate Duehr
Steve Lamb wrote: * A machine whose sole purpose is to host UMLs being the one case I can think of that would require the OS to not use cache. This is because the UMLs themselves are caching the files thus there is no need for the host OS to cache the same files. Uggh... I ran into that when expe

Re: Limiting Disck Cache

2004-12-15 Thread Ivan Garcia Sainz-Aja
On Wed, Dec 15, 2004 at 05:51:44PM -0600, Ron Johnson wrote: > > At the moment of that cat /proc/meminfo i was only coping an mpeg file > > from the cdrom to usb hd and just surfing the web when the mouse start > > responding funy so i just stoped tomcat and eclipse but the happiness > > didnt last

Re: Limiting Disck Cache

2004-12-15 Thread Ron Johnson
On Wed, 2004-12-15 at 23:26 +, Ivan Garcia Sainz-Aja wrote: > On Wed, Dec 15, 2004 at 04:34:45PM -0600, Ron Johnson wrote: > > On Wed, 2004-12-15 at 22:24 +, Ivan Garcia Sainz-Aja wrote: > > > Hi all, > > > > > > how can i limit the amount of this cache linux uses? > > > > You can't. By

Re: Limiting Disck Cache

2004-12-15 Thread Adam Aube
Ivan Garcia Sainz-Aja wrote: > how can i limit the amount of this cache linux uses? > > i'm using an external usb hd for playing movies/mp3 but > after a time of usage the memory becomes full and the system > virtually unusable and i got to umount/mount the drive to > keep working You don't say

Re: Limiting Disck Cache

2004-12-15 Thread Roberto Sanchez
Ron Johnson wrote: Operating on huge files will always cause the kind of problems you describe. Why? Because when you run the cp (or dd or what- ever) command, the OS takes and starts loading that file into cache, while writing it out to the destination. So what? The Last In, First Out algorith

Re: Limiting Disck Cache

2004-12-15 Thread Ivan Garcia Sainz-Aja
On Wed, Dec 15, 2004 at 11:26:14PM +, Ivan Garcia Sainz-Aja wrote: > At the moment of that cat /proc/meminfo i was only coping an mpeg file > from the cdrom to usb hd and just surfing the web when the mouse start > responding funy so i just stoped tomcat and eclipse but the happiness > didnt la

Re: Limiting Disck Cache

2004-12-15 Thread Ivan Garcia Sainz-Aja
On Wed, Dec 15, 2004 at 04:34:45PM -0600, Ron Johnson wrote: > On Wed, 2004-12-15 at 22:24 +, Ivan Garcia Sainz-Aja wrote: > > Hi all, > > > > how can i limit the amount of this cache linux uses? > > You can't. By design, it's totally dynamic. > > > i'm using an external usb hd for playing

Re: Limiting Disck Cache

2004-12-15 Thread Steve Lamb
Ivan Garcia Sainz-Aja wrote: how can i limit the amount of this cache linux uses? I can only think of one reason why one would want to do this... i'm using an external usb hd for playing movies/mp3 but after a time of usage the memory becomes full and the system virtually unusable and i got t

Re: Limiting Disck Cache

2004-12-15 Thread Ron Johnson
On Wed, 2004-12-15 at 22:24 +, Ivan Garcia Sainz-Aja wrote: > Hi all, > > how can i limit the amount of this cache linux uses? You can't. By design, it's totally dynamic. > i'm using an external usb hd for playing movies/mp3 but > after a time of usage the memory becomes full and the system

Limiting Disck Cache

2004-12-15 Thread Ivan Garcia Sainz-Aja
Hi all, how can i limit the amount of this cache linux uses? i'm using an external usb hd for playing movies/mp3 but after a time of usage the memory becomes full and the system virtually unusable and i got to umount/mount the drive to keep working [EMAIL PROTECTED]:~# cat /proc/meminfo