sysfs vs. ioctl

From: Neshama Parhoti
Date: Tue Feb 23 2010 - 11:47:44 EST


hi all,

we are in the process of writing a new driver and we don't know
whether to choose a sysfs or ioctl interface to user space.

we know that sysfs is preferred, but we're concerned it will have bad
performance when compared to ioctl (our driver will have its interface
might be used many dozens of times per second, possible even more than
100 times per second).

so should we opt for ioctls if a usage is expected even every 5
miliseconds (in extreme scenarios) ?

thank you in advance for the help
~pnesh
--
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/