Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimisation to number of /tmp/SerialisedSampleSenderXXXXXX.ser files (network bandwidth tuning) #5157

Open
asfimport opened this issue Sep 5, 2019 · 0 comments

Comments

@asfimport
Copy link
Collaborator

pierre.astruc (Bug 63730):
Hello all,
I have one optimisation suggestion about the number of /tmp/SerialisedSampleSenderXXXXXX.ser files created during one test.

In the simple situation of one master with jmeter GUI + one slave server with jmeter-server, I sometime use more than one listener to have quick graphs. (I know it’s not recommended, but it works fine with simple test :)

To reproduce the issue, create one simple test plan with one URL, and add 6 listener (for example jp@gc graph plugins - https://jmeter-plugins.org/wiki/ResponseTimesOverTime)
When you remote run this Test Plan with mode=StrippedDiskStore, you will see one SerialisedSampleSender file for each listener:

l /tmp/ -h
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender2820299025417446920.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender3467716893946119156.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender537889715080696791.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender5430064167002869825.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender7709666792947386220.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender8012499479851562653.ser
-rw-r--r-- 1 root root 3.4M Sep 5 17:03 SerialisedSampleSender8166392983179754462.ser

When the test is finished, each of the 6 files are transmitted from slave to the master by network, so each listener can do his graphs.

The problem here is when I check the content of each files: they are identical ! those files have the same data inside each of them !
I think this could be optimized, because the 6 listeners could read the same "SerializedSampleSender" file content.
If we manage to code this, this would divide by 6 the network usage between slave to master with the same result :)

Thanks for reading !
Pierre

OS: All

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant