Unix, Linux, and more..Unix, Linux, and more..A blog with technical info on Unix, Linux, Apple Mac OS X and other Unix variant operating systems, Kernel programming, device driver development, faq etc. Articles
Please update your bookmarks!
2008-04-12 18:21:00 Please update your bookmarks/pointers to http://www.kernelfaq.com. You can subscribe for future posts to get in email:... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Linux , Mac , Free , Network , Driver
Customizing Ubuntu Linux Kernel
2008-04-09 05:31:00 Ref: http://www.howtogeek.com/howto/ubuntu/how -to-customize-your-ubuntu-kernel/Kernel customization is not for everyone. Please note before you try any of this that it can break your system. There's... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Linux , Ubuntu , Ubuntu Linux
TCP Segmentation
2008-02-10 11:54:00 In general, segmentation is the process of breaking something into smaller units. In networking terms, segmentation is the process in which a large data is broken down to a number of small-sized data... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Segmentation
Schedulers in FreeBSD 7.0
2008-01-27 08:45:00 Higher performance has been found with the new scheduler SCHED_ULE in Free BSD 7.0. This requires selecting SCHED_ULE as the scheduler instead of the default 4BSD scheduler (SCHED_4BSD) in the Kernel... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
Schedulers in FreeBSD 7.0
2008-01-27 06:52:00 Higher performance has been found with the new scheduler SCHED_ULE in Free BSD 7.0. This requires selecting SCHED_ULE as the scheduler instead of the default 4BSD scheduler (SCHED_4BSD) in the Kernel... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
TCP Window
2007-12-31 19:30:00 In a connection between a server and a client; both of them share the maximum number of bytes they can receive at a time. This maximum number of bytes is called the Window size. Client's receive... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Tuning
Maximum number of supported MSI-X messages
2007-12-15 19:30:00 Similar to pci_msi_count() for MSI, function pci_msix_count( ) returns the maximum number of supported MSI-X messages. This maximum number is hardware specific. Some hardwares have support for... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Messages , Number , Mess , Ages
Naming and Resolution
2007-11-08 19:30:00 All computers in a network are identified by the IP address. IP addresses are assigned to the network interface (network adapters or NICs) through which that computer is connected to the network.... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Resolution , Naming
TCP Auto-tuning
2007-11-02 19:30:00 More often than not, the bandwidth of a TCP flow is restricted by the setting of the sender's and receiver's buffer sizes, and the flow never utilizes the available bandwidth of the links. Very few... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Auto , Tuning
Network Device Drivers in brief
2007-10-01 20:30:00 It can be a Network driver or any device driver; first operation is the probe. During probe, device driver which support that hardware are searched. This is by calling probe implementation in each... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Drivers , Driver , Device
Shared Memory, Mutexes, and Semaphores
2007-09-01 20:30:00 Inter-process Communication (IPC) is a capability of the Operating Systems to allow communication between two processes running either in same or in a different computer. Shared memory is one of the... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Memory
IP Checksum
2007-08-06 20:30:00 IP Checksum is the 16-bit 1's complement of 1's complement sum of all 16-bit words in IP header. Example: Suppose the IP header has the following bytes where last two bytes (0's) are checksum... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network
Registering Interrupt Handler
2007-07-21 20:30:00 Hardwares inform processor through signals called interrupts whenever they require processor's attention. Registering interrupt handler: Interrupt handlers are registered using request_irq and... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Linux
Enabling and Disabling Interrupts
2007-07-21 20:30:00 Device drivers may need to stop interrupts for some time. This can be due to various reasons. Usually, interrupts are blocked to avoid deadlocks. If an interrupt is shared, disabling interrupts are... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Linux , Interrupt
Network Alias - Interface with 2 IP addresses
2007-07-14 20:30:00 It is possible to create network alias or assign 2 ip address to single NIC under Free BSD? My setup: lnc0 - IP : 192.168.1.1/255.255.255.0 lnc0 alias - IP : 192.168.1.5/255.255.255.255 Note:... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Alias , Interface
INTx implementation in FreeBSD
2007-07-14 20:30:00 FreeBSD's PCI interrupt routing code attempts to provide a machine independent framework that machine dependent code can hook into where necessary. First, FreeBSD uses cookie values defined by... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Implementation , Interrupt
TCP Tuning - sysctls
2007-07-14 20:30:00 net.inet.tcp.recvspace and net.inet.tcp.sendspace control how much buffer space is allotted per socket connection, per direction. This is how much data the kernel will cache on a socket while the... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Mac , Free , Network , Tuning
MSI implementation in FreeBSD
2007-07-13 20:30:00 FreeBSD implements MSI messages as SYS_RES_IRQ interrupts similar to the legacy INTx interrupts. The driver visible differences include different resource IDs (legacy INTx interrupt is rid 0, MSI... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Implementation , Interrupt
MSI support by a loaded driver
2007-07-09 20:30:00 A driver which has been loaded earlier can be supporting Line interrupts (INT A) or MSI Interrupt s. How do we verify the interrupt type of the loaded driver? Run "vmstat -i". It lists the drivers,... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Driver , Support , Loaded
Maximum number of supported MSI messages
2007-06-24 20:30:00 Function pci_msi_count() returns the maximum number of supported MSI messages. This maximum number is hardware specific. Some hardware supports upto 32 MSI messages, where as some hardwares... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Messages , Number , Interrupt , Mess
MSI support in a PCI device
2007-06-22 20:30:00 Run "pciconf -lvc" and find that device's info. Example: Neterion Xframe-II 10Gigabit Ethernet Adapter xge0@pci1:3:0: class=0x020000 card=0x602017d5 chip=0x583217d5 rev=0x02 hdr=0x00 vendor =... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Support , Device , Interrupt
Apple Safari Browser
2007-06-14 20:30:00 Apple has released Safari web browser for Windows. Now we can have a feel of Mac web browsing in Windows. You can find Safari here. Safari browser supports tabbed windows similar to Mozilla Firefox... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Apple , Browser
Mac OS X Network Tuning
2007-06-11 20:30:00 Adam Knight explains network tuning concepts in Mac OS X here. You can find some info on tuning through sysctls, new reno fast recovery method, selective acknowledgements, window sizes, maximum... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Network , Tuning
Why FreeBSD
2007-06-06 20:30:00 Frank Pohlmann explains reasons for choosing Free BSD over other operating systems here. [[ This is a content summary only. Visit my website for full links, other content, and more! ]]
Why did they choose FreeBSD?
2007-06-05 20:30:00 Harvey Allen, Brian Candler, and Joel Jaeggli explains why did they opt for Free BSD here (pdf). Some key points in it: * WhyFreeBSD in general? * Why FreeBSD rather than Linux? * Why FreeBSD rather... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Choose
Adding DNS server entries
2007-06-03 20:30:00 All DNS server entries will be in a configuration file resolv.conf in /etc. Update /etc/resolv.conf with new DNS server entry. Example to add DNS server 1.2.3.4: nameserver 1.2.3.4 For the just... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Free , Network , Server , Naming
FreeBSD Kernel Compilation
2007-06-03 20:30:00 One more way of building Free BSD Kernel . Before this step, building world is required. If you want to build a custom kernel, and already have a configuration file, just use KERNCONF=MYKERNEL like... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Compilation
Custom FreeBSD Kernel compilation
2007-06-03 20:30:00 I normally use this way of building custom Free BSD Kernel . Make sure that you are a root to continue with this. Kernel source path: Default path for FreeBSD kernel sources is /usr/src/sys. We can... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Compilation , Custom
Lock Order Reversals
2006-12-25 19:30:00 Found in Free BSD-CURRENT list posted by Robert Watson. These warnings are generated by Witness, a run-time lock diagnostic system found in FreeBSD 5-CURRENT kernels (but removed in releases). You... [[ This is a content summary only. Visit my website for full links, other content, and more! ]] More About: Order , Lock , Locking |



