Re: Things that Longhorn seems to be doing right

From: Hans Reiser
Date: Thu Oct 30 2003 - 03:07:23 EST


Theodore Ts'o wrote:

Keep in mind that just because Windows does thing a certain way
doesn't mean we have to provide the same functionality in exactly the
same way.

Also keep in mind that Microsoft very deliberately blurs what they do
in their "kernel" versus what they provide via system libraries (i.e.,
API's provided via their DLL's, or shared libraries).

At some level what they have done can be very easily replicated by
having a userspace database which is tied to the filesystem so you can
do select statements to search on metadata assocated with files.


We
can do this simply by associating UUID's to files, and storing the
file metadata in a MySQL database which can be searched via
appropriate userspace libraries which we provide.


What a performance nightmare. Updating a user space database every time a file changes --- let's move to a micro-kernel architecture for all of the kernel the same day.....;-)

Not to mention that SQL is utterly unsuited for semi-structured data queries (what people store in filesystems is semi-structured data), and would only be effective for those fields that you require every file to have.

Please do **not** assume that just because of the vaporware press
releases released by Microsoft that (a) they have pushed an SQL Query
optimizer into the kernel or that (b) even if they did, we should
follow their bad example and attempt to do the same.

There are multiple ways of skinning this particular cat, and we don't
need to blindly follow Microsoft's design mistakes.

Fortunately, I have enough faith in Linus Torvalds' taste that I'm not
particularly worried what would happen if someone were to send him a
patch that attempted to cram MySQL or Postgres into the guts of the
Linux kernel.... although I would like to watch when someone proposes
such a thing!

- Ted




How about you send him a patch that removes all of that networking stuff from the kernel and puts it into user space where it belongs.;-) There was this Windows user on Slashdot some time ago who claimed that it wasn't just the browser that should be unbundled from the kernel, the whole networking stack was unfairly bundled and locked out the companies that used to provide DOS with networking stacks (the user didn't have in mind patching the windows kernel and recompiling, he really thought it should all be in user space). Your kind of fellow.....

It is true that there are many features, such as an automatic text indexer, that belong in user space, but the basic indexes (aka directories) and index traversal code belong in the kernel.

--
Hans


-
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/