存档

文章标签 ‘performance tunning’

A Solution to Optimize Pattern Matching Performance Using Sensory Networks HyperScan™ Software and Intel® Xeon® Processor 5500 Series

2015年11月30日 评论已被关闭

intel的Nehalem CPU利用hyperscan可以极大的提高字符串匹配性能。

原文在 https://www-ssl.intel.com/content/dam/www/public/us/en/documents/solution-briefs/xeon-5500-hyperscan-brief.pdf

QQ20151130-0

The USE Method: Linux Performance Checklist

2013年10月14日 评论已被关闭

The USE Method provides a strategy for performing a complete check of system health, identifying common bottlenecks and errors. For each system resource, metrics for utilization, saturation and errors are identified and checked. Any issues discovered are then investigated using further strategies.

In this post, I’ll provide an example of a USE-based metric list for Linux operating systems (eg, Ubuntu, CentOS, Fedora). This is primarily intended for system administrators of the physical systems, who are using command line tools. Some of these metrics can be found in remote monitoring tools.

Last Updated: 29-Sep-2013

阅读全文…

The USE Method: Mac OS X Performance Checklist

2013年10月14日 评论已被关闭

This is my example USE Method-based performance checklist for the Apple Mac OS X operating system, for identifying common bottlenecks and errors. This draws upon both command line and graphical tools for coverage, focusing where possible on those that are provided with the OS by default, or by Apple (eg, Instruments). Further notes about tools are provided after this table.

Some of the metrics are easy to find in various GUIs or from the command line (eg, using Terminal; if you’ve never used Terminal before, follow my instructions at the top of this post). Many metrics require some math, inference, or quite a bit of digging. This will hopefully get easier in the future, as tools include a USE method wizard or the metrics required to follow this easily.

阅读全文…

Using SystemTap

2013年10月14日 评论已被关闭

I work at Joyent – a cloud computing company – doing performance analysis of small to large cloud environments. Most of our systems have DTrace: the first widely used implementation of Dynamic Tracing, which we use for monitoring and performance analysis. But we also have some Linux, which I’ve been analyzing in the following situations:

  • Competitive performance analysis: measuring the runtime of certain codepaths in Linux vs SmartOS.
  • KVM performance tuning: we run Linux as guests of the KVM we ported to Illumos, and as part of that work I’ve studied performance from the host (via DTrace) and from the guest (via SystemTap).
  • Real customer issues: replicated in a KVM lab environment for safe study with SystemTap.

I would prefer to log in to the KVM guests and run DTrace, but it’s not available on those Linux systems. (In the future, we may have a way to reach into the guest using DTrace from the host to trace its internals, be it Linux or Windows.) In the meantime, I need to do some serious performance analysis on Linux (including kernel code-path latency) so I’m using SystemTap.

阅读全文…

Why interrupt affinity with multiple cores is not such a good thing

2011年8月6日 评论已被关闭

很多时候我们希望把linux的中断interrupt在多个cpu core之中以最大化的利用cpu资源,提高处理能力。到底这么做好不好,自己试试就知道。老外提出了几个问题,cache命中率会降低的问题,rr的调度算法问题,调度器等待的问题。本文还介绍了中断的类型及方法,值得系统管理员同学围观,以加深对中断、任务调度的理解。安全人员也可以围观下以便增加忽悠能力,好歹这也扯的是linux内核里的东西 :)

阅读全文…

SMP affinity and proper interrupt handling in Linux 中断

2011年8月6日 评论已被关闭

有兴趣的同学自行围观,还是讲linux中断interrupt的,想要更深入的了解linux下的中断机制,可以观摩linux device drive 3rd的第十章。要参考文中的内容将中断interrupt到多个cpu core中,记得在内核中开启ACPI和CPU HOTPLUG功能。

阅读全文…

如何通过isolcpus指定CPU只运行特定任务,linux中断interrupt

2011年8月6日 1 条评论

今天在法老的带领下,重新学习了linux下中断interrupt相关的知识。转个红帽的文章,有兴趣的同学自行围观。

阅读全文…

Optimizing Servers and Processes for Speed with ionice, nice, ulimit

2010年4月5日 评论已被关闭

Ok, sup. I really felt I had to get this out of the way, because I have a whole stack of drafts waiting to be published, but I realized that not many people will benefit from all the advanced optimizations and tricks I’m writing unless they get a basic understanding of some of the tools I’m using. I decided to write a series of articles explaining how I optimize servers for speed because lately I’ve been getting a lot more people wanting to hire me to do that. I take on projects when I can but there is clearly a need out here on the net for some self-help. The momentum is swinging more and more towards VPS type of web hosting, and I would say that 99% of those customers are getting supremely ripped off, which goes against the foundation of the web.

  阅读全文…

比较Intel Parallel Amplifier 和 VTune(TM) Analyzer, Thread Profiler 之异同

2010年1月16日 1 条评论

amplifier是VS的插件,支持VS2005 2008。

阅读全文…

Linux System and Performance Monitoring(Memory篇)

2009年9月8日 评论已被关闭

作者:tonnyom
原载: http://www.sanotes.net/html/y2009/376.html
版权所有。转载时必须以链接形式注明作者和原始出处及本声明。

阅读全文…