Kernel hard_start_xmit performance vs SOCK_RAW performance
From: Gallus
Date: Fri Jun 26 2009 - 10:04:22 EST
Hi,
what path would you choose to rapidly generate packets:
1. Develop kernel space module and user space client tool.
The tool would call the module through ioctl() passing the packet
contents. The module would then construct sbk buffer and call
hard_start_xmit.
2. Develop only user space client tool
The tool would just sent packets through raw sockets.
I'm wondering if amount of system calls in (1) solution will not be a problem?
Which path is generally better?
--
Regards,
Gallus
--
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/