milvus/pkg/util/hardware
yah01 c96d07682e
enhance: enhance the accuracy of memory usage (#28554)
before this, Milvus use container/system's memory info to get the memory
usage, which could be inaccurate.

we allocates the memory by private anon mmap,
then `rss - shared` would be the accurate memory usage

resolve #28553

---------

Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-23 15:12:23 +08:00
..
container_darwin.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
container_linux.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
container_test_linux.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
container_windows.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
hardware_info_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
hardware_info.go enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00
mem_info_darwin.go enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00
mem_info.go enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00