files/process scaling problem? (was: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM)

From: Ingo Oeser
Date: Sun Aug 03 2008 - 19:37:26 EST


Hi Keith,

On Sunday 03 August 2008, Keith Packard wrote:
> > Just seeing your statement that you wanted to add ioctls made me
> > shudder and try to visuallize a better way to do this.
>
> I could use fds if the kernel supported applications needing many
> thousand of them, and also some way to keep these FDs from polluting the
> fd space used by select(2) (yeah, I know, don't use select).

You may just have identified a scaling problem here.
I see no difference to many thousand TCP/IP connections in your description.

What actions on many thousand fds are supported poorly or not at all?
Are you only concerned about the memory requirements?

Please elaborate or point me to a place where you did already :-)


Best Regards

Ingo Oeser
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/