Optimizing related tutorials
 |
|
Post date: December 18, 2005, 21:12 Category: Optimizing Views: 4035 Comments |
Tutorial quote: This chapter covers several methods to measure execution time and real-time performance. The methods give different types of granularity, from the program’s complete execution time to how long each function in the program takes. |
 |
|
Post date: November 26, 2005, 01:11 Category: Optimizing Views: 4369 Comments |
Tutorial quote: This article provides an overview of the different flags controlling optimization in GCC and some hints on how to use them to get the most performance out of your application. In particular, it discusses some of the new optimization features of the GCC 4.x series included in Fedora™ Core 4 and the upcoming Red Hat® Enterprise Linux® versions. |
 |
|
Post date: November 26, 2005, 00:11 Category: Optimizing Views: 9943 Comments |
Tutorial quote: Advanced tips on optimizing your Red Hat server. |
 |
|
Post date: June 26, 2005, 00:06 Category: Optimizing Views: 4034 Comments |
Tutorial quote: As promised in our previous NFS article, we will now explore mount options in a bit more detail. We will also talk about differences between NFS implementations among various UNIX flavors, and the wonderful capability automatic mounting provides. |
 |
|
Post date: June 25, 2005, 01:06 Category: Optimizing Views: 4892 Comments |
Tutorial quote: Many new workstations and servers are coming with integrated gigabit network cards, but quite a few people soon discover that they can't transfer data much faster than they did with 100 Mb/s network cards. Multiple factors can affect your ability to transfer at higher speeds, and most of them revolve around operating system settings. In this article we will discuss the necessary steps to make your new gigabit-enabled server obtain close to gigabit speeds in Linux, FreeBSD, and Windows. |
 |
|
Post date: June 1, 2005, 07:06 Category: Optimizing Views: 3748 Comments |
Tutorial quote: The tools to analyze the performance of applications are varied and have existed in one form or another since the early days of UNIX. It is critical to understand how an application is interacting with the operating system, CPU, and memory system to understand its performance. This chapter will help you understand where the bottleneck in your system is occuring, and how to fix it. |
 |
|
Post date: May 31, 2005, 14:05 Category: Optimizing Views: 4920 Comments |
Tutorial quote: For desktop and laptop users who want a fast-booting operating system, getting rid of services you do not need can appear to improve performance. Obviously, if you are new to Linux, though, you probably do not know which processes you can get rid of safely nor how to stop them and keep them from restarting at boot time. |
 |
|
Post date: May 24, 2005, 18:05 Category: Optimizing Views: 4014 Comments |
Tutorial quote: As we discussed in last week's article, for most of its existence, people have distributed Linux as a workstation or a server rather than as a desktop. The default workstation that evolved has existed mostly for use by developers. So, when you install a Linux distribution with a graphical interface, it generally looks like what a developer might want. In addition, it performs similar to how many UNIX workstations work, which can seem slow.
In this article, we continue to look at the Linux desktop in a different light. Here, we think of it as a computer system with a fast interface that we can optimize for the knowledge worker and consumer. |
 |
|
Post date: May 24, 2005, 18:05 Category: Optimizing Views: 7763 Comments |
Tutorial quote: One of the most important things to keep in mind while optimizing an application is: optimize where it counts. It is no use to spend hours optimizing a piece of code that usually runs for only 0.04 seconds anyway.
GProf provides a surprisingly easy way to profile your C/C++ application and spot the interesting pieces right away. A small case study shows how GProf was used to reduce the running time of a real-world application from over 3 minutes to under 5 seconds, by identifying 2 data structures as important and optimizing those.
Historically, the program goes back as far as 1982, when it was introduced on the the SIGPLAN Symposium on Compiler Construction. It is now a standard tool available on virtually all flavors of UNIX. |
 |
|
Post date: May 23, 2005, 16:05 Category: Optimizing Views: 3364 Comments |
Tutorial quote: The Linux on POWER platform offers more than one option to produce binary C/C++ code. In addition to supporting both 32- and 64-bit runtime environments simultaneously, Linux on POWER has two compiler collections. The GNU Compiler Collection, or GCC, is consistent with other Linux implementations with specific exceptions for the POWER architecture. GCC is the leading compiler for portability but also features a number of performance enhancements for optimizing code. The IBM XL C/C++ compiler for Linux on POWER is derived from the high performance compiler for AIX but uses the GNU linker and assembler to create ELF objects that are fully compatible with objects produced by GCC. This document provides side-by-side comparisons of how these two compilers are controlled, overviews of what the compilers are capable of, in terms of optimization, and tips for writing code that is more easily optimized with either of these compilers. |
|
|