Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 8:58 PM, Daniel Baluta wrote: > > Now the default value is of both the macros is same. > > > > But if you want to make delayed ack timeout configurable, then I think > you > > should give proc interface for TCP_DELACK_MIN. > > Thanks Rohan. Then also I have to export TCP_DE

what does sys_sync() function do when suspend is called?

2011-09-21 Thread sandeep kumar
Hi all, "sys_sync()" function is used in enter_suspend(). It is taking a long time, when data transfer is happening, thus taking more time for the deivce to suspend. I am basically does not know much about filesystems, still wondering what sys_sync() function does? When suspend is called before s

Re: Debugging IP packet through Linux stack

2011-09-21 Thread Abu Rasheda
> > On Wed, Sep 21, 2011 at 10:26 PM, Abu Rasheda > wrote: > I am inserting packets into Linux stack and they are accepted by > net_rx function, but are latter dropped. What tools are available in Linux > kernel to for debugging this issue. > I discovered that /proc/net/snmp files provides stats

Re: Debugging IP packet through Linux stack

2011-09-21 Thread Daniel Baluta
On Wed, Sep 21, 2011 at 10:26 PM, Abu Rasheda wrote: > I am inserting packets into Linux stack and they are accepted by net_rx > function, but are latter dropped. What tools are available in Linux kernel > to for debugging this issue. printk + dump_stack + your brain :). thanks, Daniel. ___

Debugging IP packet through Linux stack

2011-09-21 Thread Abu Rasheda
I am inserting packets into Linux stack and they are accepted by net_rx function, but are latter dropped. What tools are available in Linux kernel to for debugging this issue. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.ker

Re: question on memory mapping one page at a time

2011-09-21 Thread Sri Ram Vemulpali
thanks for the replies. On Tue, Sep 20, 2011 at 11:42 PM, rohan puri wrote: > > > On Wed, Sep 21, 2011 at 2:24 AM, Jeff Haran wrote: >> >> > -Original Message- >> > From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- >> > boun...@kernelnewbies.org] On Behalf Of Sri Ram V

Re: Cannot read using USB Skeleton Driver

2011-09-21 Thread Greg KH
On Wed, Sep 21, 2011 at 06:59:57PM +0530, Felix Varghese wrote: > Does anybody have anything to add or oppose on this or would you guys > rather have me send a patch along with my changes? Patches are always best, we can review that and go from there. greg k-h ___

Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread Daniel Baluta
> Now the default value is of both the macros is same. > > But if you want to make delayed ack timeout configurable, then I think you > should give proc interface for TCP_DELACK_MIN. Thanks Rohan. Then also I have to export TCP_DELACK_MAX since I think ato cannot grow over this value. thanks, Dan

Re: TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 6:29 PM, Daniel Baluta wrote: > Hello, > > RFC2582, Section 4.2 says: > > "... an ACK SHOULD be generated for at least every second > full-sized segment, and MUST be generated within 500 ms > of the arrival of the first unacknowledged packet. ". > > > I guess that the delay

Re: load balancing scheduler on linux

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 5:15 PM, rohan puri wrote: > > > On Wed, Sep 21, 2011 at 4:46 PM, Murali N wrote: > >> Hi, >> Can somebody give pointers to the load balancing scheduler on Linux. I >> hope this is the default scheduler which is used on most of the linux >> systems on SMP environment. >> I

Re: looking for 3.0 source

2011-09-21 Thread Greg KH
On Wed, Sep 21, 2011 at 11:57:13AM +0200, Mirco Tischler wrote: > 2011/9/21 Jacky Lam : > > Thanks Mirco. But how about if I want to download 3.0.4 source? > > > > Jacky > I don't know of any public non-kernel.org mirrors of the stable branches. > > Greg, are there any? Not that I know of at the

Re: Cannot read using USB Skeleton Driver

2011-09-21 Thread Felix Varghese
With some modification, I have finally made the skel driver work with my device. I think I have some initial theories about the root cause of the problems that I ran into with skel: 1) The condition if (!dev->processed_urb) is always false in the beginning and this induces a wait without any scope

TCP_DELACK_MIN vs TCP_ATO_MIN

2011-09-21 Thread Daniel Baluta
Hello, RFC2582, Section 4.2 says: "... an ACK SHOULD be generated for at least every second full-sized segment, and MUST be generated within 500 ms of the arrival of the first unacknowledged packet. ". I guess that the delayed ACK timeout is computed in tcp_send_delayed_ack: === void tcp_send_

Re: load balancing scheduler on linux

2011-09-21 Thread rohan puri
On Wed, Sep 21, 2011 at 4:46 PM, Murali N wrote: > Hi, > Can somebody give pointers to the load balancing scheduler on Linux. I > hope this is the default scheduler which is used on most of the linux > systems on SMP environment. > I would like to know how the scheduler takes a decision to migrat

Re: load balancing scheduler on linux

2011-09-21 Thread Murali N
Small correction is not a "load balance scheduler" it could be CFS. On Wed, Sep 21, 2011 at 4:46 PM, Murali N wrote: > Hi, > Can somebody give pointers to the load balancing scheduler on Linux. I > hope this is the default scheduler which is used on most of the linux > systems on SMP environment.

Re: looking for 3.0 source

2011-09-21 Thread Pritam Bankar
I think if have git installed then LXR might do it for you. On Wed, Sep 21, 2011 at 7:38 AM, Jacky Lam wrote: > Thanks Mirco. But how about if I want to download 3.0.4 source? > > Jacky > > On 9/15/2011 6:08 AM, Mirco Tischler wrote: > > 2011/9/14 Littlefield, Tyler: > >> Hello: > >> and I'm uns

load balancing scheduler on linux

2011-09-21 Thread Murali N
Hi, Can somebody give pointers to the load balancing scheduler on Linux. I hope this is the default scheduler which is used on most of the linux systems on SMP environment. I would like to know how the scheduler takes a decision to migrate some of the processes to the another core? I have a scenar

Re: looking for 3.0 source

2011-09-21 Thread Vishnupradeep
On Wed, Sep 21, 2011 at 3:27 PM, Mirco Tischler wrote: > 2011/9/21 Jacky Lam : > > Thanks Mirco. But how about if I want to download 3.0.4 source? > > > > Jacky > I don't know of any public non-kernel.org mirrors of the stable branches. > https://github.com/torvalds/linux/tree/v3.0 i think this i

Re: looking for 3.0 source

2011-09-21 Thread Mirco Tischler
2011/9/21 Jacky Lam : > Thanks Mirco. But how about if I want to download 3.0.4 source? > > Jacky I don't know of any public non-kernel.org mirrors of the stable branches. Greg, are there any? Thanks Mirco ___ Kernelnewbies mailing list Kernelnewbies@k