Monday, October 15, 2007
Thursday, September 20, 2007
Network Performance
- Throughput [Tools: Qcheck, IxChariot]
In communication networks, throughput is the amount of digital data per time unit that is delivered over a physical or logical link, or that is passing through a certain network node. For example, it may be the amount of data that is delivered to a certain network terminal or host computer, or between two specific computers. The throughput is usually measured in bit per second (bit/s or bps), occasionally in data packets per second or data packets per timeslot. The term corresponds to digital bandwidth consumption.
It is the amount of data per second that was successfully sent between the two endpoints.
- Packet Loss [Tools: Qcheck, IxChariot]
Packet loss occurs when one or more packets of data traveling across a computer network fail to reach their destination.
Packet loss can be caused by a number of factors, including signal degradation over the network medium, oversaturated network links, corrupted packets rejected in-transit, faulty networking hardware, maligned system drivers or network applications, or normal routing routines.
- Latency [Tools: IxChariot]
Latency (delay) is an expression of how much time it takes for a packet of data to get from one designated point to another.
- Jitter [Tools: IxChariot]
Jitter is the variations of delay.
- Response Time [Tools: Qcheck, IxChariot]
It is the number of seconds it took to complete a transaction.
A transaction means a sequence of information exchange and related work that is treated as a unit for the purposes of satisfying a request.
- Transaction Rate [Tools: IxChariot]
It would be calibrated in transactions per second.
Tools
(1) Qcheck (Free, from IXIA)
http://www.ixiacom.com/products/display?skey=qcheck
(2) IxChariot ($$$, from IXIA)
(3) Endpoint (Free, from IXIA. Can be used by Qcheck & IxChariot)
Friday, September 14, 2007
Wednesday, July 25, 2007
How to Recover Hard Drive
Make repair utility --
1. Make a bootable DOS flash disk:
Download from:
ftp://ftp.compaq.com/pub/softpaq/sp27001-27500/SP27213.exe
Download from:
http://hddguru.com/download/software/mhdd
MHDD is the most popular program for low-level HDD diagnostics.
3. Unzip the archive file and then copy all files to your USB flash disk
4. Boot to DOS
5. Run MHDD to check/scan/diagnostic your hard drive or clear MBR
6. Boot to Windows
7. Run S-Studio to recover your hard drive
This utility is not free. Download from ….mmmm
Other useful tools:
Homepage: http://www.geocities.com/mbrwizard/
Download from: http://www.geocities.com/mbrwizard/MBRWiz.zip
HDD Low Level Format Tool:
Homepage: http://hddguru.com/content/en/software/
HDD Low Level Format Tool is a freeware utility for low-level hard disk drive formatting.
Subversion Quick Guide
# SVN Server: (example IP address:192.168.1.100)
# Create a new project - XXXXX
[]# svnadmin create /home/svn/repos/XXXXX
[]# chown -vR apache:svngroup /home/svn/repos/XXXXX
# Change to your home directory
[]# mkdir XXXXX
[]# mkdir XXXXX/branches
[]# mkdir XXXXX/tags
[]# mkdir XXXXX/trunk
[]# svn import XXXXX/ file:///home/svn/repos/XXXXX/ -m "Initial repository layout"
# Now, the depositary is ready for developer to import their own source code.
# For end-user, programmer, developer
# SVN Client:
# Check-out the source code
[]# svn co http://192.168.1.100/svn/repos/XXXXX/
# Add/Edit/Delete/Copy/Move/..... your original source code to ./XXXXX/trunk/
# Check-in your source code
[]# svn commit
# Update your local repository
[]# svn update
# Check log
[]# svn log
# Check information
[]# svn info
# Check-out revision R??
[]# svn co -r?? http://192.168.1.100/svn/repos/XXXXX/
# Tag it
[]# svn copy -m "tagging the 1.0 release." http://192.168.1.100/svn/repos/XXXXX/trunk \
http://192.168.1.100/svn/repos/XXXXX/tags/release-1.0
# Check-out
[]# svn co http://192.168.1.100/svn/repos/XXXXX/tags/release-1.0
# Create a lock
To set a lock on a directory tree simply create a property on a directory called lock. Then you must commit the property to make it take effect.
[ ]# svn propset lock TRUE trunk/project
[ ]# svn commit trunk/project
# Delete a lock
To remove a lock simply delete the lock property and then commit:
[ ]# svn propdel lock trunk/project
[ ]# svn commit trunk/project
RapidSVN is a cross-platform graphical SVN client written in C++ using the wxWidgets framework.
Meld is a graphical diff and merge tool, it can compare two or three files which you can also edit in place at the same time.
Tuesday, March 20, 2007
Netlink vs. Unix Domain Socket
- Unix Domain Sockets
- Netlink Sockets