lkml.org 
[lkml]   [2001]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: The memory usage of the network block device
Date
Hi, Steve

Thanks for the quick reply. I have tried a couple of 2.4.x kernel
version, got the same result. I did not tune the /proc/sys/net/ipv4/tcp*mem,
so it should be the default value. Which value you recommend? The memory
size in the driver machine is 256M, I run into problem when do a bonnie
test of 200M file size. I run nbd on two separate machines, so it should
not be a localhost deadlock problem.


Thanks,

Xiangping

-----Original Message-----
From: Steven Whitehouse [mailto:steve@gw.chygwyn.com]
Sent: Friday, November 16, 2001 5:16 AM
To: chen, xiangping
Cc: linux-kernel@vger.kernel.org
Subject: Re: The memory usage of the network block device


Hi,

I'm on holiday this week, so apologies in advance if my replies are not
as prompt as they would otherwise be....

Which kernel version are you using ? What are your settings in the
/proc/sys/net/ipv4/tcp_*mem files or did you just use the default
values ? Did you run the nbd server on the same machine as the client ?
How much memory do you have in the machine that you are testing with ?

Its a little while since I looked at nbd in detail, so if you can send me
enough info to reproduce your set up, then I'll try and have a go in the
next few days,

Steve.

>
> Hi,
>
> I am trying to use the network block device in the Linux kernel.
>
> The nbd works good in light io load, but during intensive io load
> testing, it seems that it fails to release the memory fast enough.
> Eventually the driver blocks at tcp_sendmsg, and waits for the
> memory that seems never come. A simple bonnie test to create
> a file about the size of the host memory shows the problem.
>
> Is there any way to free up memory more quickly? or why the
> network memory is held without being released?
>
> Thanks,
>
> Xiangping
>
-
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 13:13    [W:0.026 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site