lkml.org 
[lkml]   [2001]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
 Hello. 8-)
I'm not in the list, please cc your replies to me.
After upgrading to 2.4.4 I started using tmpfs for /tmp and I
noticed a strange behavior:

dd if=/dev/zero of=blah bs=1024 count=102400
# increased my used swap space by approx. 100MiB (correct)
rm blah
# did not decrease it back

Multiple retries showed what looked like a random behavior of
the used swap stats. Is this a correct behavior? Should the swap
stats be dismissed as 'unreliable'? I expected that when creating
a 100MiB file in memory it should increase the swap (or memory)
usage by cca 100MiB and that removing a file from tmpfs means
freeing the memory.
Best regards

Jacek Kopecky
Idoox



-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.148 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site