Explain the output of gputop

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Explain the output of gputop

ソリューションへジャンプ
2,779件の閲覧回数
himanshubhavani
Contributor I

Hi,

I am using gputop for finding the usage of RAM by GPU. I have downloaded gputop from gputop

I got the following result.

himanshubhavani_0-1685435266090.png

 

image1241×275 29.6 KB

 

I confused with TOT and TOT_CON. I have checked the function for calculation of both. I found that TOT_CON is remaining CMA memory from allocated CMA to GPU (allocated CMA - RES(KB)). but it is not matched with TOTAL or TOT.

Here, I have doubt that CONT(kB) is part of reserved.

Could some one explain this and gputop?

ラベル(1)
0 件の賞賛
返信
1 解決策
2,700件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @himanshubhavani,

I hope you are doing well.

Here,

TOT_CON = contigousSize - total reserved memory.

In this case, => Total Reserved memory is 21804 kB
& contiguousSize = TOT_CON + total reserved memory(client) = 43731 + 21804  = 65,535 kB.

Please share the output of below command.

# cat /sys/module/galcore/parameters/contiguousSize

Thanks & Regards,
Dhruvit Vasavada.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,754件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @himanshubhavani,

I hope you are doing well.

->GPUTOP can be used to determine the memory usage your application is using or to read the hardware counters exposed by the GPU in real time. Additionally, DMA engines and Occupancy states are displayed. GPUTOP has multiple viewing pages: a MEMORY USAGE page, two HARDWARE COUNTER pages, a DMA ENGINE page, and an OCCUPANCY page. When normally started, GPUTOP will be in interactive mode. Type 'h' to get a list of the current keybindings.

->When viewing the client attached page the following head columns are displayed:

PID RES(kB) CONT(kB) VIRT(kB) Non-PGD(kB) Total(kB) CMD

-   PID -- process id
-   RES -- reserved memory
-   CONT -- contiguous memory
-   VIRT -- virtual memory
-   Non-PGD -- Non-paged memory
-   Total -- the sum of all above
-   CMD -- the name of the application (trimmed)

->These memory items correspond to memory pools in the driver.

I hope this information helps you!

Thanks & Regards,
Dhruvit Vasvada

0 件の賞賛
返信
2,740件の閲覧回数
himanshubhavani
Contributor I

hi @Dhruvit ,

Thanks for your reply.

I have read this in document. but, I did not understand TOT_CON and how is it co-related to total?

0 件の賞賛
返信
2,701件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @himanshubhavani,

I hope you are doing well.

Here,

TOT_CON = contigousSize - total reserved memory.

In this case, => Total Reserved memory is 21804 kB
& contiguousSize = TOT_CON + total reserved memory(client) = 43731 + 21804  = 65,535 kB.

Please share the output of below command.

# cat /sys/module/galcore/parameters/contiguousSize

Thanks & Regards,
Dhruvit Vasavada.

0 件の賞賛
返信