亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1670 | 回復: 5
打印 上一主題 下一主題

內存問題 [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2006-03-31 09:52 |只看該作者 |倒序瀏覽
$ free
             total       used       free     shared    buffers     cached
Mem:       2074932    2018592      56340          0     457232    1392928
-/+ buffers/cache:     168432    1906500
Swap:      1020116        144    1019972


有一個機群,其中服務器上的內存使用狀況如上。buffers喝cached是不是太高了?

論壇徽章:
0
2 [報告]
發(fā)表于 2006-03-31 09:53 |只看該作者
發(fā)生什麼問題了嗎?

論壇徽章:
0
3 [報告]
發(fā)表于 2006-03-31 10:41 |只看該作者

回復 2樓 lunchan 的帖子

我在服務器上開了NFS,有一個作業(yè)要大量的存取NFS的文件,結果在服務器上的內存大部分都被buffer和cached了(2G內存,buffer了98%)。CPU,net之類的都很正常。

這么大的buffer會影響別的作業(yè)不?

請教斑竹。thx

論壇徽章:
0
4 [報告]
發(fā)表于 2006-03-31 12:13 |只看該作者
請斑竹支持,我也有類似的問題要解決呢

論壇徽章:
0
5 [報告]
發(fā)表于 2006-03-31 12:18 |只看該作者
相信是由於大量的信息經(jīng)由UDP發(fā)送造成的
Under heavy write loads, the Linux NFS client can generate many large UDP datagrams. This can quickly exhaust output socket buffer space on the client. If this occurs many times in a short time, the client sends the server a large number of fragments, but almost never gets a whole datagram's worth of fragments to the server. This fills the server's IP reassembly queue, causing it to become unreachable via UDP until it expels the useless fragments from the queue.

Note that the same thing can occur on servers that are under a heavy read load. If the server's output socket buffers are too small, large reads will cause them to overflow during IP fragmentation. The client's IP reassembly queue then fills with worthless fragments, and little UDP traffic can get to the client.

Here are some symptoms of this problem:

You use NFS over UDP with a large wsize (relative to the network's MTU), and your application workload is write-intensive, or with a large rsize with a read-intensive application.

You may see many fragmentation errors on your server or clients (netstat -s will tell the story).

Your server may periodically become very slow or unreachable.

Increasing the number of threads on your server has no effect on performance.

One or a small number of clients seem to make the server unusable.

The network path between your client and server may have a router or switch with small port buffers, or the path may contain links that run at different speeds (100Mb/s and GbE).

The fix is to make the Linux's IP fragmentation logic continue fragmenting a datagram even when output socket buffer space is over its limit. This fix appears in kernels newer than 2.4.20. You can work around this problem in one of several ways:

Use NFS over TCP. TCP does not use fragmentation, so it does not suffer from this problem. Using TCP may not be possible with older Linux NFS clients and servers that only support NFS over UDP.

If you can't use NFS over TCP, upgrade your clients to 2.4.20 or later.

If you can't upgrade your clients, increase the default size of your client's socket buffers (see below). 2.4.20 and later kernels do this automatically for the NFS client's socket buffers. See Section 5.3ff of the NFS How-To for more information.

If your rsize or wsize is very large, reduce it. This will reduce the load on your client's and server's output socket buffers.

Reduce network congestion by ensuring your GbE links use full flow control, that your switch and router ports use adequate buffer sizes, and that all links are negotiating their fastest settings.

論壇徽章:
0
6 [報告]
發(fā)表于 2006-03-31 14:47 |只看該作者
how to "increase the default size of your client's socket buffers (see below)"? where is "below"? in NFS HOW-TO???
thank you
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP