Re: Sockets: synchronous I/O

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm doing it inside the kernel because I'm writing a distributed file system 
using the VFS. I guess using a user mode deamon as a proxy for communication 
would lead to a noticeable performance impact in this case, right?

Jens

"Pradeep Padala" <ppadala@xxxxxxxxxxxxxx> wrote in message 
news:42F1007F.8060307@xxxxxxxxxxxxxxxxx
>>>>Tux was a nice experiment, until somebody showed that you can get the
>>>>same performance from userspace by using sendfile(). The performance
>>>>argument no longer holds.
>>>
>>>Agreed, but I believe there are still some gray areas. For example, using 
>>>multiple streams for transfering a file. Yes, this can be done in the 
>>>user mode, probably as effectively, but doing it in the kernel is still 
>>>an interesting thing to do.
>>
>>
>> If you mean "interesting" as in "interesting ways to crash your kernel
>> by minor programming errors", I agree.
>
> My point is don't discourage people just by saying 'don't do this', when 
> there are possible useful scenarios. What's wrong, if someone crashes the 
> kernel, while learning? If nothing else, one would atleast learn a few 
> intricacies of the kernel.
>
> -- 
> Pradeep Padala
> http://ppadala.blogspot.com
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
> 



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux