Skip to contentSkip to conversation

POHMELFS high performance network filesystem release.

PATCH Evgeniy Polyakov 2 participants 3 messages Apr 25, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi.

I'm please to announce POHMEL high performance network filesystem. POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System.

Development status can be tracked in filesystem section [1].

This is a high performance network filesystem with local coherent cache of data and metadata. Its main goal is distributed parallel processing of data. Network filesystem is a client transport. POHMELFS protocol was proven to be superior to NFS in lots (if not all, then it is in a roadmap) operations.

Basic POHMELFS features:

* Local coherent (notes [5]) cache for data and metadata.
* Completely async processing of all events (hard and symlinks are the only exceptions) including object creation and data reading.
* Flexible object architecture optimized for network processing. Ability to create long pathes to object and remove arbitrary huge directoris in single network command.
* High performance is one of the main design goals.
* Very fast and scalable multithreaded userspace server. Being in userspace it works with any underlying filesystem and still is much faster than async ni-kernel NFS one.

Roadmap includes:
* Server extension to allow storing data on multiple devices (like creating mirroring), first by saving data in several local directories (think about server, which mounted remote dirs over POHMELFS or NFS, and local dirs).
* Client/server extension to report lookup and readdir requests not only for local destination, but also to different addresses, so that reading/writing could be done from different nodes in parallel.
* Strong authentification and possible data encryption in network channel.
* Extend client to be able to switch between different servers (if one goes down, client automatically reconnects to second and so on).
* Async writing of the data from receiving kernel thread into
userspace pages via copy_to_user() (check development tracking
blog for results).

One can grab sources from archive [2] or check homepage [3]. Benchmark section can be found in th blog [4].

It is work-in-progress, and network protocol is not stable yet.

Thank you.

1. POHMELFS development status.
http://tservice.net.ru/~s0mbre/blog/devel/fs/index.html

2. Source archive.
http://tservice.net.ru/~s0mbre/archive/pohmelfs/

3. POHMELFS homepage.
http://tservice.net.ru/~s0mbre/old/?section=projects&item=pohmelfs

4. POHMELFS vs NFS benchmark.
http://tservice.net.ru/~s0mbre/blog/devel/fs/2008_04_18.html
http://tservice.net.ru/~s0mbre/blog/devel/fs/2008_04_14.html

5. Cache-coherency notes.
http://tservice.net.ru/~s0mbre/blog/devel/fs/2008_04_21.html
http://tservice.net.ru/~s0mbre/blog/devel/fs/2008_04_22.html

fs/Kconfig +2 -0
index c509123..59935cd 100644
@@ -1566,6 +1566,8 @@ menuconfig NETWORK_FILESYSTEMS
 
 if NETWORK_FILESYSTEMS
 
+source "fs/pohmelfs/Kconfig"
+
 config NFS_FS
 	tristate "NFS file system support"
 	depends on INET
fs/Makefile +1 -0
index 1e7a11b..6ce6a35 100644
@@ -119,3 +119,4 @@ obj-$(CONFIG_HPPFS)		+= hppfs/
 obj-$(CONFIG_DEBUG_FS)		+= debugfs/
 obj-$(CONFIG_OCFS2_FS)		+= ocfs2/
 obj-$(CONFIG_GFS2_FS)           += gfs2/
+obj-$(CONFIG_POHMELFS)		+= pohmelfs/
fs/pohmelfs/Kconfig new file +6 -0
new file mode 100644
index 0000000..ac19aac
@@ -0,0 +1,6 @@
+config POHMELFS
+	tristate "POHMELFS filesystem support"
+	help
+	  POHMELFS stands for Parallel Optimized Host Message Exchange Layered File System.
+	  This is a network filesystem which supports coherent caching of data and metadata
+	  on clients.
fs/pohmelfs/Makefile new file +3 -0
new file mode 100644
index 0000000..ff3ba70
@@ -0,0 +1,3 @@
+obj-$(CONFIG_POHMELFS)	+= pohmelfs.o
+
+pohmelfs-y := inode.o config.o dir.o net.o path_entry.o
fs/pohmelfs/config.c new file +128 -0

128 lines not on this page · raw message

fs/pohmelfs/dir.c new file +1016 -0

1,016 lines not on this page · raw message

fs/pohmelfs/inode.c new file +1141 -0

1,141 lines not on this page · raw message

fs/pohmelfs/net.c new file +639 -0

639 lines not on this page · raw message

fs/pohmelfs/netfs.h new file +330 -0

55 lines not on this page · raw message

fs/pohmelfs/path_entry.c new file +278 -0

278 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
	Evgeniy Polyakov

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 1 line · Evgeniy Polyakov

It is work-in-progress, and network protocol is not stable yet.

Congratulations. I'm sure it was a lot of work.

But could you please quickly expand how useful it is at this state? Is it already far enough that someone could save some data on it and use it without it crashing all the time?

It's unclear even from your status report.

-Andi

#2 lore raw

Hi.

Quoted 5 lines · Andi Kleen
Quoted 1 line · Evgeniy Polyakov

It is work-in-progress, and network protocol is not stable yet.

Congratulations. I'm sure it was a lot of work.

Well, not _that_ lot of work, but it is interesting, so...
It was at least once time rewriten mostly from scratch to allow all those shiny things. It is not in-advance design, but kind of evolution based on my filesystem studying.

Quoted 5 lines

But could you please quickly expand how useful it is at this state? Is it already far enough that someone could save some data on it and use it without it crashing all the time?

It's unclear even from your status report.

Well, it does not crash in iozone, huge untar, kernel compilations and big file copies. And it works reliably enough to make md5 sums be equal on both server and clients, but I will not be surprised if it contains some bugs. I also will not be surprised, if current server behaviour does not match POSIX expectations (I'm curios of NFS matches that), but at least this behaviour will be much more clean with transaction introduction and server support for them.

So, it works for usual NFS-like workload, but since it is rather young FS (this particular design implementation exists for about couple of months), there may be some questions...

Getting that POHMELFS is really simple and its design is oriented to be as open as possible without burden of old age problems and compatibilities, it is not a any kind of a problem to locate and fix a bug, so I'm very open for any kind of reports.

Signature · 1 line
	Evgeniy Polyakov