看板 LinuxDev 關於我們 聯絡資訊
各位Linux 大大 目前在工作中遇到一個對我而言非常棘手問題 "page allocation failure" 目前完全沒方向 狀況遇到如下: AR9341 CPE + Altair LTE module 整合產品, 測試出現問題 其 RAM 為 64M LTE module 搭在 CPE 進行throughput 整機測試(iperf DL 74M / UL 17M) 出現 page allocation failure(在另一個平台(Lantiq ) 沒有遇到類似問題) 已諮詢過 module chip vendor, 得到回覆只有 在其他產品上沒有問題 因此 這問題 需要我們自己去解決(看來需要找一些tool看是否能觀察到哪個 driver 使用過多的記憶體, 但是只知道process 可以用ps觀察, kernel 方面不知有無 方式check driver memory 使用狀況 ) 詳細 log 如下link https://sites.google.com/site/xb10151983/dni_1 請大大協助, 感激不盡 ~~ THX~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.235.203.163
alongalone:某支程式把memory吃光了,確認error log時的pid 04/03 09:15
alongalone:下"free -m"看問題發生時還剩多少記憶體. 04/03 09:16
alongalone:http://blog.richliu.com/2009/12/11/822/ 參考看看 04/03 09:16
askacis:看你的log死在要skb_buffer的時候,可以印出來看要多大~ 04/03 10:48
askacis:[<c0379b7c>] __mod_vermagic5+0x6a7c/0x772c [ue_lte] 04/03 10:50
askacis:[<8017a148>] __alloc_skb+0x70/0x140 04/03 10:50
askacis:所以要看一下你ue_lte.ko裡面的相關function~ 04/03 10:51