Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [bug report] nvmet-tcp: Memory leak when connecting / disconnecting to the target
@ 2020-06-01 15:28 Victor Gladkov
  2020-06-02  7:26 ` Sagi Grimberg
  0 siblings, 1 reply; 3+ messages in thread
From: Victor Gladkov @ 2020-06-01 15:28 UTC (permalink / raw)
  To: linux-nvme@lists.infradead.org

[Environment]
Branch: nvme-5.7
Commit: 9210c075cef29c1f764b4252f93105103bdfb292

[Steps]
At the target:
1.1 Check free memory before the test
	# grep MemFree /proc/meminfo
	MemFree:        64060460 kB
1.2 Create portal:
	#./target_create_portal.sh 1 69.69.69.1 4420 tcp
1.3 Create target:
	#./target_add.sh /dev/nvme1n1 target_t0 1

At the host:
2.1 Connect to the target (number of IO queues is 10)
2.2 Disconnect from the target.
2.3 Repeat steps 2.1 and 2.2 ~1000 times

At the target:
3.1 Check free memory after the test
	# grep MemFree /proc/meminfo
	MemFree:        63685072 kB 

[Result]:
Free memory of the target system was reduce to 375388 kB
Note: The size of leakage memory depends on the number of IO queues.

Best Regards,
Victor Gladkov


_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-02  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-01 15:28 [bug report] nvmet-tcp: Memory leak when connecting / disconnecting to the target Victor Gladkov
2020-06-02  7:26 ` Sagi Grimberg
2020-06-02  9:14   ` Victor Gladkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox