Home > Back-end >  After x86 32 arm64 cutting platform, c program RSZ virtual memory start too high
After x86 32 arm64 cutting platform, c program RSZ virtual memory start too high

Time:09-23

Program before A, run on x86, compiled for 32-bit, memory is: VIRT virtual memory is 150 m, actual didn't save 60 m

Question:
Switch to the arm platform, a 64 - bit compiled, VIRT memory once several times since the start


5621 root 20 0 791548 12940 6480 S 1.0 0.0 all 31 cmdataproxy


Part through maps positioning [anon] then my memory is much larger than the x86, through tools found the part [anon] is not new,
Couldn't find [anon] reasons, ask everybody to give directions??



This is part of the memory, under arm64 anon is much larger than under the x86
000000002 cf53000 584 k rw - [anon]
0000 ffff50000000 1288 k rw - [anon]
0000 ffff50142000 64248 k -- -- -- -- -- (anon)
0000 ffff54000000 132 k rw - [anon]
0000 ffff54021000 65404 k -- -- -- -- -- (anon)
0000 ffff58ffd000 40968 k rw - [anon]
0000 ffff5b7ff000 4 k -- -- -- -- -- (anon)
0000 ffff5b800000 8192 k rw - [anon]
0000 ffff5c000000 132 k rw - [anon]
0000 ffff5c021000 65404 k -- -- -- -- -- (anon)
0000 ffff60000000 132 k rw - [anon]
0000 ffff60021000 65404 k -- -- -- -- -- (anon)
0000 ffff64000000 132 k rw - [anon]
0000 ffff64021000 65404 k -- -- -- -- -- (anon)
0000 ffff68000000 132 k rw - [anon]
0000 ffff68021000 65404 k -- -- -- -- -- (anon)
0000 ffff6c000000 132 k rw - [anon]
0000 ffff6c021000 65404 k -- -- -- -- -- (anon)
0000 ffff70000000 132 k rw - [anon]
0000 ffff70021000 65404 k -- -- -- -- -- (anon)
0000 ffff74000000 132 k rw - [anon]
0000 ffff74021000 65404 k -- -- -- -- -- (anon)
0000 ffff78000000 132 k rw - [anon]
0000 ffff78021000 65404 k -- -- -- -- -- (anon)
0000 ffff7c000000 132 k rw - [anon]
0000 ffff7c021000 65404 k -- -- -- -- -- (anon)
Rw - 0000 ffff800e3000 528 k (anon)
  • Related