Originally posted by DrYak
View Post
Announcement
Collapse
No announcement yet.
Microsoft Has More SMB3/CIFS Enhancements For Linux 5.16, Including For Performance
Collapse
X
-
-
Originally posted by DrYak View PostWell indeed, it would have been hard to argue against in-kernel SMB given that in-kernel is how NFS has been done. Which by the way enables also leveraging RDMA. So if you have a 10Gbit Ethernet (RDMA capable) and an inkernel NFS, you can do zero copy remote filesystem access over the network.
- Likes 1
Leave a comment:
-
Originally posted by kylew77 View PostSounds like a huge security vulnerability waiting to happen to me. Not involving the OS sounds really dangerous to just have a computer on the network take content from memory. What if the remote computer took your AES decryption keys for example?Originally posted by arQon View PostBut once the inevitable DMA extensions come in, we'll have our very own version of a WannaCry-level remote code execution engine. Yay! :/
In a modern era with IOMMU-supporting linux kernel and IOMMU enabled hardware, the risk of such security hole happening is dramatically lessened.
Originally posted by arQon View PostI suspect that if weren't in the era of the new "mellower" Linus the idea would have been shot down early on and rightly abandoned, but instead it was allowed to progress to being ready to merge, and by the point he was pretty much stuck with taking it. {...} it's not substantially worse than having NFS there, which is the line of argument used to get it added.
Originally posted by NobodyXu View PostIt is just another way to optimize the transfer of data by using zero-copy networking.
Though maybe io-uring in future will also support zero-copy.
Originally posted by oleid View Post
OpenWRT was mentioned. They already adopted ksmbd. Typical router hardware has a few 100 MHz of CPU, hopefully more than 32 MiB of RAM and 8 MiB of flash.
I mean even the oldest Raspberry Pi could handle Samba without problems at a decent speed, modern ISP-provided router tend to be much better than that hardware-wise (simply because handling some high-speed gigabit FTTH link is challenging enough) and don't get me started about the enthousiast high-range router that one can buy (and which most advertise OpenWRT compatibility out of the box, no rooting required). Though...
Originally posted by Chrispynut View PostRenews my tears that my ISP supplied router (for FTTH that was installed a few months ago) uses SMB1.
GJ Vodafone, GFJ!
- Likes 2
Leave a comment:
-
Originally posted by sinepgib View PostWhich kind of embedded are we talking about? Raspberry Pi level or 68k level?
- Likes 1
Leave a comment:
-
Originally posted by oleid View Post
the memory footprint and processor usage are important to consider. You cannot beat an in kernel server when it comes to processor efficiency. And that's important for the embedded world.
- Likes 3
Leave a comment:
-
Originally posted by indepe View Post
Says who? I think this is more or less contradicted by the finding that with IO_URING throughput is increased 10x. (Unless that is somehow a misleading benchmark.)
There is usually a close relationship between throughput and processor effiency.
The hardware I'm talking about doesn't have multiple cores and probably doesn't even have enough memory to handle that many clients and certainly doesn't have the memory bandwidth of the "10x faster"-benchmark.
I'd, however, be interested in a CPU and memory usage benchmark of a minimal userspace implementation of smbd+io_uring compared with ksmbd.
- Likes 1
Leave a comment:
-
Originally posted by arQon View PostSMB3 in its own right isn't THAT terrible an idea - it's not substantially worse than having NFS there, which is the line of argument used to get it added. But once the inevitable DMA extensions come in, we'll have our very own version of a WannaCry-level remote code execution engine. Yay! :/
Leave a comment:
-
Originally posted by lacek View Post
Why is putting SMB3 file server inside the kernel a good idea? Does it allow something that user-space application would not allow? If there are some bottlenecks that make user appliations slow, perhaps fixing those would allow not only quick SMB3 but other servers as well?
There is 30-70% speedup on the horison. Isn't it because the current implementation does have some features yet, and completing it will also slow it down?
Not really a joke: Why not KHTTPD ? KSSHD? KGNOME? or KBLENDER ? maybe a in-kernel Steam client?
Note: I haven't looked into this change specifically but in general this is true. Its why (for similar reasons) fuse based filesystems will always be slower than the equivalent in the kernel.
Leave a comment:
Leave a comment: