Building Linux Kernel from a read-only source

It is possible to build Linux Kernel using Kernel source in a read-only location like CD/DVD media, remote server which can only be read, etc. To achieve this, pass as a parameter the location where the built Kernel image is to be placed. make O=/home/mylogin/kernels/linux-2.6.26/ Make sure that you pass all other required parameters to Make while building Kernel.

Read More...
Bookmark and Share
Your Ad Here

Avoiding Firefox CPU Hog

I use Firefox as a primary browser. I always use the latest available version of Firefox, so the current installed version in my system is 3.0.1.

After updating Firefox to 3.0.1, it started to consume more than 95% CPU. That's very bad for any application. I used Process Explorer to get some details about firefox process. I found that the firefox process started a thread "WINMM.dll!timeGetSystem Time+0x44" which was consuming more CPU time.

Firefox CPU Usage - Before
I suspended that thread using process explorer.
Firefox Thread Suspend
Now, the CPU utilization is around 5%.
Firefox CPU Usage
I tried this two times. As you can see in the above "CPU Usage History", CPU Usage became very less after suspending "WINMM.dll!timeGetSystem Time+0x44" thread.
I am not sure about internals of firefox, but this may give some hint on fixing the CPU consumption issue.

Read More...
Bookmark and Share
Your Ad Here

Subversion Features

Subversion provides many features similar to other SCM tools. Below is a list of features provided by Subversion.
  • Commits are true atomic operations. Interrupted commit operations do not cause repository inconsistency or corruption.
  • Renamed/copied/moved/removed files retain full revision history.
  • Directories, renames, and file metadata (but not timestamps) are versioned. Entire directory trees can be moved around and/or copied very quickly, and retain full revision history.
  • Versioning of symbolic links.
  • Native support for binary files, with space-efficient binary-diff storage.
  • Apache HTTP Server as network server, WebDAV/DeltaV for protocol. There is also an independent server process that uses a custom protocol over TCP/IP.
  • Branching and tagging are cheap operations, independent of file size, though Subversion itself does not distinguish between a tag, a branch, and a directory
  • Natively client/server, layered library design.
  • Client/server protocol sends diffs in both directions.
  • Costs are proportional to change size, not data size.
  • Parsable output, including XML log output.
  • Open source licensed — "CollabNet/Tigris.org Apache-style license"
  • Internationalised program messages.
  • File locking for unmergeable files ("reserved checkouts").
  • Path-based authorization.
  • PHP, Python, Perl, and Java language bindings.
  • Full MIME support - the MIME Type of each file can be viewed or changed, with the software knowing which MIME types can have their differences from previous versions shown.
Source: http://en.wikipedia.org/wiki/Subversion_(software)

Read More...
Bookmark and Share
Your Ad Here