Search This Blog

Sunday, March 26, 2017

Network performence tools

iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool
iperf3 - samples http://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf-and-iperf3/


NTttcp Utility: Profile and Measure Windows Networking Performance


List of network-troubleshooting-tools

DiskBenchmark  - i am using ActiveMQ product , i find out that there is a utility inside it called
DiskBenchmark.

i managed to run it this way - you cna run it on linux too , its java based
java -cp "C:\Program Files\ActiveMQ.5.6\apache-activemq-5.8.0\lib\activemq-kahadb-store-5.8.0.jar"  org.apache.activemq.store.kahadb.disk.util.DiskBenchmark

Wednesday, March 15, 2017

Windows Debugging and Troubleshooting

great session  from you-tube

https://youtu.be/2rGS5fYGtJ4

some commands :
g = go/continue
r - regisers
db - display RAM bytes
dc - display as dword
~ - thread
k = stack
~* - for each thread run the next commnd  = e.g ~*k - show stacks for all threads
lm - list module
!peb  - get some info about the dump process such as command line , env settinsg








Monday, March 13, 2017

Find your Memory Leak C++

Using Performance Monitor to Find a User-Mode Memory Leak - Windows 10 hardware dev:


chasing-static-memory-leaks

i like the UMDH command to analyze memory, without the need to recompile application.

https://support.citrix.com/article/CTX120596


the command i used e.g.
umdh.exe -pn:xxx.exe -f:FirstDump.txt
umdh.exe -pn:xxx.exe -f:SecondDump.txt
umdh.exe -d -v -l  FirstDump.txt SecondDump.txt -f:Result.txt
umdh.exe -d -v -l SecondDump.txt ThirdDump.txt  -f:Result2.txt

gflags.exe  -i xxx.exe +ust

gflags.exe  -i xxx.exe -ust
dont forget 
delete all registry - gflags.exe /i xxx.exe ffffffff