Re: T/TCP Implementation variables

2010-10-31 Thread Rajat Sharma
Richard Stevens is a good book, but it was written with only Unix versions in mind. The kernel implementation can differ from OS to OS. You can refer to this book specifically for Linux: http://oreilly.com/catalog/9780596002558 Rajat On Sun, Oct 31, 2010 at 11:11 AM, Bond

Re: T/TCP Implementation variables

2010-10-31 Thread Kfir Lavi
On Sun, Oct 31, 2010 at 8:21 AM, Rajat Sharma fs.ra...@gmail.com wrote: Richard Stevens is a good book, but it was written with only Unix versions in mind. The kernel implementation can differ from OS to OS. You can refer to this book specifically for Linux:

Re: T/TCP Implementation variables

2010-10-31 Thread Rajat Sharma
One more: http://www.amazon.com/Linux-TCP-Networking-Embedded-Systems/dp/1584504811/ref=dp_ob_title_bk Well I am not a networking guy but just know the names of these two books. Rajat On Sun, Oct 31, 2010 at 12:56 PM, Kfir Lavi lavi.k...@gmail.com wrote: On Sun, Oct 31, 2010 at 8:21 AM, Rajat

swap storms on low memory i386, tasks blocked on i386 and amd64 for kernel 2.6.36-git6

2010-10-31 Thread Arthur Marsh
Hi, first post to this list. I have a PII-266 with 384 MiB RAM (maximum capacity for the machine) and an AMD64 dual core with 4 GiB RAM, both running Debian unstable plus some packages from experimental and custom kernels. A typical load for the PII-266 is KDE 3.5.10 with konversation, icedove,

Re: T/TCP Implementation variables

2010-10-31 Thread Jayapal Reddy
Hi Bond, The below link help in understand w.r.t code http://www.6test.edu.cn/~lujx/linux_networking/index.html?page=0131777203_ch19lev1sec3.htmlhttp://www.6test.edu.cn/%7Elujx/linux_networking/index.html?page=0131777203_ch19lev1sec3.html - Jayapal reddy On Sun, Oct 31, 2010 at 4:08 PM, Rajat

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
On Sat, Oct 30, 2010 at 22:02, Robert P. J. Day rpj...@crashcourse.ca wrote:  as the technical editor for robert love's book linux kernel development (3rd ed), i'm interested in collecting any observations related to kernel features that were introduced so recently, they never made it into

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Robert P. J. Day
On Sun, 31 Oct 2010, Mulyadi Santosa wrote: On Sun, Oct 31, 2010 at 19:18, Robert P. J. Day rpj...@crashcourse.ca wrote:    AS is mostly a subset of CFQ, so there's little point in still    providing this separate IO scheduler. Hopefully at some point we    can get down to one single IO

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Robert P. J. Day
On Sun, 31 Oct 2010, Mulyadi Santosa wrote: On Sat, Oct 30, 2010 at 22:02, Robert P. J. Day rpj...@crashcourse.ca wrote:  as the technical editor for robert love's book linux kernel development (3rd ed), i'm interested in collecting any observations related to kernel features that were

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
Hi Rob... On Sun, Oct 31, 2010 at 19:34, Robert P. J. Day rpj...@crashcourse.ca wrote:  i'll see what i can do. :-)  anyway, this is where i'm going to track this stuff: Well, that's just my wishlist, so it's up to you whether you wanna do me a favour or not. BTW, have you tried to consult

Re: swap storms on low memory i386, tasks blocked on i386 and amd64 for kernel 2.6.36-git6

2010-10-31 Thread Mulyadi Santosa
Hi Arthur.. Interesting to read your (1st? really?) post, but I am not sure how far I can help...so I'll just take a shot... On Sun, Oct 31, 2010 at 18:36, Arthur Marsh arthur.ma...@internode.on.net wrote: I have a PII-266 with 384 MiB RAM (maximum capacity for the machine) and an AMD64 dual

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Robert P. J. Day
On Sun, 31 Oct 2010, Mulyadi Santosa wrote: Hi Rob... On Sun, Oct 31, 2010 at 19:34, Robert P. J. Day rpj...@crashcourse.ca wrote:  i'll see what i can do. :-)  anyway, this is where i'm going to track this stuff: Well, that's just my wishlist, so it's up to you whether you wanna do me

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Alison Chaiken
Robert P. J. Day wrote: collecting any observations related to kernel features that were introduced so recently, they never made it into LKD3, simply being too new. -- kgdb/kdb -- new runtime_pm mechanism -- btrfs -- Alison Chaiken (650) 279-5600  (cell)             

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Robert P. J. Day
On Sun, 31 Oct 2010, Alison Chaiken wrote: Robert P. J. Day wrote: collecting any observations related to kernel features that were introduced so recently, they never made it into LKD3, simply being too new. -- kgdb/kdb good suggestion but, to help me out, it would be useful to

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
Hi Rob... On Sun, Oct 31, 2010 at 22:20, Robert P. J. Day rpj...@crashcourse.ca wrote:  no, since this isn't really a janitor type project, it's just to collect observations on the book. OK, understood :)  i don't want to get too carried away in the sense of documenting *everything* newer

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
On Sun, Oct 31, 2010 at 19:18, Robert P. J. Day rpj...@crashcourse.ca wrote:    AS is mostly a subset of CFQ, so there's little point in still    providing this separate IO scheduler. Hopefully at some point we    can get down to one single IO scheduler again, at least this brings    us closer

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Alison Chaiken
I wrote: -- kgdb/kdb Robert P.J. Day writes:  good suggestion but, to help me out, it would be useful to throw in a couple lines as to how it relates to the book, page number, any additional references and so on kgdb is mentioned in one paragraph on p. 373, kdb not at all. -- new

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread julie Sullivan
i don't want to get too carried away in the sense of documenting *everything* newer in the kernel, just (for now) new developments that would alter/update the content of the book in some way. Hi Rob and list, Are you looking for typos as well? I've noticed one or two that made it across

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Robert P. J. Day
On Sun, 31 Oct 2010, julie Sullivan wrote:   i don't want to get too carried away in the sense of documenting *everything* newer in the kernel, just (for now) new developments that would alter/update the content of the book in some way. Hi Rob and list, Are you looking

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread julie Sullivan
Hi Rob Probably you have already thought of this but Jon Corbet outlines some new features merged for 2.6.37 here: http://lwn.net/Articles/411590/ some of which might be relevant - this stood out for me for CFS: The scheduler also will no longer charge processor time used to handle interrupts

Re: swap storms on low memory i386, tasks blocked on i386 and amd64 for kernel 2.6.36-git6

2010-10-31 Thread Tharindu Rukshan Bamunuarachchi
You can turn off SWAP and try ? Are you using SWAP partition or file ? Please search for following phrase in mailing list ... could this be a issue in new release ? 2.6.36 io bring the system to its knees __ Tharindu R Bamunuarachchi. On Sun, Oct 31, 2010 at 5:50 PM, Mulyadi Santosa

does get_user_byte and put_user_byte exist

2010-10-31 Thread Tapas Mishra
I was reading an article http://www.linuxjournal.com/article/1221 They have used get_user_byte and put_user_byte functions do they exist? I tried to man them but there were no entry. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read

how to efficient use linux caches

2010-10-31 Thread loody
Dear all: I have some questions about virtual memory (VM) subsystem of the Linux kernel. 1. From linux doc, there is drop_caches in /proc/ which can let us to free the cache that kernel used, such as dentries and inodes, etc. I know i can echo 1, 2 or 3 to free different level of caches in the

Re: how to efficient use linux caches

2010-10-31 Thread Greg Freemyer
On Sun, Oct 31, 2010 at 11:26 PM, loody milo...@gmail.com wrote: Dear all: I have some questions about virtual memory (VM) subsystem of the Linux kernel. 1. From linux doc, there is drop_caches in /proc/ which can let us to free the cache that kernel used, such as dentries and inodes, etc. I

Re: looking for corrections/enhancements/omissions for LKD3

2010-10-31 Thread Mulyadi Santosa
Hi Greg... On Mon, Nov 1, 2010 at 10:21, Greg KH g...@kroah.com wrote: On Sun, Oct 31, 2010 at 08:18:52AM -0400, Robert P. J. Day wrote: Also, I saw XIP in ext2 filesystem. Quite neat..but again, why?   hmmm ... not sure, i'll look into that. So you can run Linux on a system with very

Re: does get_user_byte and put_user_byte exist

2010-10-31 Thread Mulyadi Santosa
On Mon, Nov 1, 2010 at 09:49, Tapas Mishra mightydre...@gmail.com wrote: I was reading an article http://www.linuxjournal.com/article/1221 They have used get_user_byte and put_user_byte functions do they exist? Looking from the publication date of the mentioned article, quite likely it's from

Re: does get_user_byte and put_user_byte exist

2010-10-31 Thread John Mahoney
On Sun, Oct 31, 2010 at 10:49 PM, Tapas Mishra mightydre...@gmail.comwrote: I was reading an article http://www.linuxjournal.com/article/1221 They have used get_user_byte and put_user_byte functions do they exist? I tried to man them but there were no entry. That article is 1996 see:

Re: how to efficient use linux caches

2010-10-31 Thread Rajat Sharma
what kind of system call will increase the size of cache? be clear about which cache? Are you interested in dentry cache, inode cache or page cache? dentry cache and inode cache can grow only by access to filesystem, access multiple files on your system. For page cache increase, you can simple