Re: Full RAM problem with IDE UDMA active

Gerard Beekmans (gerard@linuxfromscratch.org)
Wed, 10 Apr 2002 18:03:52 -0400


On Wed, Apr 10, 2002 at 06:30:44PM +0000, Herbert G. Fischer wrote:
> When I do varios disk read-write operations (ex.: copying some ISO from one
> partition to another), my RAM gets almost FULL. It keeps growing in usage
> during the read-write operation. But when the operation finishes, the memory
> keeps FULL, even after running a sync command. The swap isn't used in
> this case.
>
> I think that UDMA uses a lot of memory without deallocing it.
>
> Look:
> total used free shared buffers cached
> Mem: 772368 645884 126484 0 85072 393896
> -/+ buffers/cache: 166916 605452
> Swap: 1044188 0 1044188

It may appear that you only have 126,484 KB free RAM, but that doesn't
include the cached memory. The second line shows your actual free RAM which
is 605,452 KB (roughly 590 MB free out of 750 MB or so RAM). This memory
(cached) will be made available to the system when something needs it.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/