/proc/sys/fs/epoll/max_user_instances=128 considered harmful

2009-01-07 Thread Joe Orton
The F10 kernel has /proc/sys/fs/epoll/max_user_instances set to 128 by 
default.  Apache httpd uses one epoll fd (instance) per child process, 
so this sets a hard limit on 128 children (i.e. 100 concurrent clients) 
out of the box.

1) shouldn't this be an rlimit so that we can bump it appropriately in 
the parent as root?

2) can we get it tweaked in the default sysctl.conf to be something more 
sane, e.g. 1024?

Regards, Joe

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: /proc/sys/fs/epoll/max_user_instances=128 considered harmful

2009-01-07 Thread Dave Jones
On Wed, Jan 07, 2009 at 03:18:12PM +, Joe Orton wrote:
  The F10 kernel has /proc/sys/fs/epoll/max_user_instances set to 128 by 
  default.  Apache httpd uses one epoll fd (instance) per child process, 
  so this sets a hard limit on 128 children (i.e. 100 concurrent clients) 
  out of the box.
  
  1) shouldn't this be an rlimit so that we can bump it appropriately in 
  the parent as root?

possibly.  It's a question better asked on linux-kernel really. 

This does sound like a better change to me than forcing the sysctl change
on everyone.

Dave

-- 
http://www.codemonkey.org.uk

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list


Re: Enabling drivers in staging tree in rawhide

2009-01-07 Thread Thorsten Leemhuis

CCing fedora-kernel

On 08.01.2009 03:49, Rahul Sundaram wrote:

Quite a bit of new drivers in
http://lwn.net/Articles/313730/


Related: I raised the staging problem already in
https://bugzilla.redhat.com/show_bug.cgi?id=477927
as rawhide contained the at76 driver as separate patch
http://cvs.fedora.redhat.com/viewvc/rpms/kernel/devel/linux-2.6-at76.patch?view=markup
-- but the same driver (with two small changes) also was part of the 
upstream kernel since October/2.6.28-rc as one of the staging drivers:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99e06e372378c5833a0c60274b645dfb2e4a4b08
(for more details see bug).

That sounds wrong to me, as

- it's duplicated work

- the at76 staging driver from upstream taints the kernel; the driver 
from our patch doesn't.


The ralink wireless drivers for example would hopefully make the newer 
EEE PC model would out of the box.  Does it make sense to enable the 
drivers in staging tree by default and bring more exposure to them 
atleast via rawhide if not in general releases?


+1 to the I think providing hardware support in rawhide and then 
removing it  before release would be somewhat user-hostile. comment 
from mjg59.


IOW: Either enable or disable them. I'm unsure myself what to do but I 
tend to say that disabling the whole staging drivers might be the best 
for Fedora (Greg calls himself as maintainer of crap for a good reason).


@Davej, Cebbert and Kylem: What's your position on this?

If they are disabled completely in Fedora then I'll nevertheless 
consider to create a kmod-staging package for RPM Fusion.


CU
knurd

___
Fedora-kernel-list mailing list
Fedora-kernel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-kernel-list