使用新添加的协议对嵌入式Linux进行负载和性能测试 [英] Load and Performance test of embedded linux with new added protocol
问题描述
你好,
我正在向ARM cortex处理器上的现有嵌入式系统添加新协议.在将新协议添加到较早的
后,我需要进行负载测试和性能测试
系统.源代码使用C和C ++.
请让我知道是否有任何免费的测试代码来进行负载和性能测试,网络
此嵌入式系统上的I/O测试等.或建议我任何用于此的方法.
基本上我必须比较:
1.添加新协议后的负载是多少?
2.表现
3.网络IO测试
4.系统测试
等...
此致
AK
Hello,
I am adding a new protocol to the existing embedded system on ARM cortex processor. I need to do a load test and performance test after adding the new protocol to earlier
system. The source code is in C and C++.
Please let me know if any free test code to do a load and performance test, network
I/O test etc on this embedded system. Or suggest me any methods for this.
Basically I have to compare:
1. What is the load after adding the new protocol.
2. Performance
3. Network IO tests
4. System tests
etc...
Regards,
AK
推荐答案
发现以下内容:
您可以使用 oprofile 或 gprof 来提高系统性能.
您可以使用 ethereal 或 netstat 进行网络配置.
您可以使用 iostat 或 sar 的I/O统计信息.
对于CPU分析,可以使用 mpstat .
Found out the following:
System performance you can use oprofile or gprof.
Network profiling you can use ethereal or netstat.
I/O statistics you can use iostat or sar.
For CPU profiling you can use mpstat.
也可以使用内存泄漏 dmalloc .
而 LTT (Linux跟踪工具包)提供了
的图形事件跟踪. 系统在一个时间窗口内运行.
Also for memory leaks dmalloc can be used.
And LTT (Linux Trace Toolkit) provides a graphical event trace of what the
system is doing during a time window.
这篇关于使用新添加的协议对嵌入式Linux进行负载和性能测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!