Currently Browsing

Posts Tagged ‘ performance ’

Jmeter – How to improve performance

Jmeter is a powerful load testing tool. If you are new to it you might run into some of the following problems: Out of memory error, it consumes a a lot of memory and CPU or even with a high end pc it can only work with 200 threads at the time.
Here are some tips and tricks about how can you improve the performance of Jmeter.
A simple and an important thing is to always you the latest version of Jmeter. Memory usage and performance is improved with every version so always be up to date.
The biggest error that the beginners do is the usage of listeners. Using a lot of listeners will result in out of memory since report generating takes a lot of resources. The best thing to do is to remove all the listeners. If you are asking how will you know the results then, you can use the “Simple Data Writer” to collect the results and you view the results later and generate the graphs.

If you decide to remove the listeners and go with the data writer, you need to add these lines into the user.properties file:

jmeter.save.saveservice.output_format=csv
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.label=true
jmeter.save.saveservice.response_code=true
jmeter.save.saveservice.response_data.on_error=false
jmeter.save.saveservice.response_message=false
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true
jmeter.save.saveservice.subresults=false
jmeter.save.saveservice.assertions=false
jmeter.save.saveservice.latency=true
jmeter.save.saveservice.bytes=true
jmeter.save.saveservice.hostname=true
jmeter.save.saveservice.thread_counts=true
jmeter.save.saveservice.sample_count=true
jmeter.save.saveservice.response_message=false
jmeter.save.saveservice.assertion_results_failure_message=false
jmeter.save.saveservice.timestamp_format=HH:mm:ss
jmeter.save.saveservice.default_delimiter=;
jmeter.save.saveservice.print_field_names=true

Tips for managing and taking care of your VMware machines

Last time we talked about how to best optimize your VM for a smooth work experience. This time we’ll talk about working with VM. These tips will help you avoid loss of time and grief in losing a virtual machine or critical data you have on your partitions. They will make your job easier in a day to day work.

Tip #1

Do not use fdisk or a similar utility to create partition tables, even if it is in the guest operating system on remote VMware ESX servers while you are in the virtual machine on the console. After you add a virtual machine disk by using one or more partitions on a physical disk, never modify the partition tables by running fdisk in the guest operating system.