All of lore.kernel.org
 help / color / mirror / Atom feed
* Some general questions about Reiser4
@ 2002-12-11  1:13 Jon Smirl
  2002-12-11  1:27 ` Hans Reiser
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Smirl @ 2002-12-11  1:13 UTC (permalink / raw)
  To: reiserfs-list

After reading though all of the material on the web
site and looking at the source code for a while, I do
have to congratulate you on having one of the best
documented programming projects I have seen. Here are
still a few areas that I have questions about....

1) The doc talks about doing something like "ls
file/attrib" to see an attribute that is implemented
as a tiny file. Does this work on Reiser4? How do I
access it? I tried this on my Reiser4 system and
couldn't figure it out.

2) Looking at Reiser 4 as a database, would the path
to the file be considered a primary key? Or is the
primary key to the file system an unique ID and the
path looks up the unique ID? Could I create an
alternative index into the file system based on say
creation date or permissions?

3) Has special consideration been made for parallelism
on SMP systems? For example, common hot spots on
databases are disk allocation, logging, and unique id
generation. These can be implemented so that each
processor gets it own independent copy and never has
to lock against the other CPUs.

4) Since Reiser4 is already SMP capable, how far is it
from being clusterable over a SAN? Having GFS go
closed source has left an opening for a new
alternative.


=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some general questions about Reiser4
  2002-12-11  1:13 Some general questions about Reiser4 Jon Smirl
@ 2002-12-11  1:27 ` Hans Reiser
  2002-12-11  2:02   ` Jon Smirl
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Reiser @ 2002-12-11  1:27 UTC (permalink / raw)
  To: Jon Smirl; +Cc: reiserfs-list

Jon Smirl wrote:

>After reading though all of the material on the web
>site and looking at the source code for a while, I do
>have to congratulate you on having one of the best
>documented programming projects I have seen. Here are
>still a few areas that I have questions about....
>
>1) The doc talks about doing something like "ls
>file/attrib" to see an attribute that is implemented
>as a tiny file. Does this work on Reiser4? How do I
>access it? I tried this on my Reiser4 system and
>couldn't figure it out.
>
Not yet implemented, but the infrastructure is getting there.  We 
(somewhat) adhere to the define the minimum functionality needed to 
ship, make it work, ship, then do the rest development model.

>
>2) Looking at Reiser 4 as a database, would the path
>to the file be considered a primary key?
>
The name within the directory would be considered the primary key in the 
semantic layer.

> Or is the
>primary key to the file system an unique ID and the
>path looks up the unique ID? Could I create an
>alternative index into the file system based on say
>creation date or permissions?
>
The "key" is considered the primary/only key in the storage layer.

>
>3) Has special consideration been made for parallelism
>on SMP systems? For example, common hot spots on
>databases are disk allocation, logging, and unique id
>generation. These can be implemented so that each
>processor gets it own independent copy and never has
>to lock against the other CPUs.
>
How do I put it.  Reiser4 scales perfectly in its design;-), and there 
will be a long period of running benchmarks and finding bottlenecks we 
failed to consider.

>
>4) Since Reiser4 is already SMP capable, how far is it
>from being clusterable over a SAN? 
>
About $850,000 far away.;-)  I say this without having done a real study 
of it.  We have sold licenses to reiser3 to proprietary clustering fs 
vendors.  They spend orders of magnitude more than that, but I am far 
lower in my costs than they are (no silicon valley office, etc.)

>Having GFS go
>closed source has left an opening for a new
>alternative.
>
Encourage your local government to give us a grant, and we'll do it.;-) 
 I am a bit more interested in globally distributed than SAN, but I am 
flexible.  Everybody is doing clusters, so I would prefer to go globally 
distributed and make them the smaller niche market.  NFS doesn't scale 
globally, etc., etc.

>
>
>=====
>Jon Smirl
>jonsmirl@yahoo.com
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>
>  
>
Best,

Hans


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some general questions about Reiser4
  2002-12-11  1:27 ` Hans Reiser
@ 2002-12-11  2:02   ` Jon Smirl
  0 siblings, 0 replies; 3+ messages in thread
From: Jon Smirl @ 2002-12-11  2:02 UTC (permalink / raw)
  To: Hans Reiser; +Cc: reiserfs-list

It would be difficult to implement alternative indexes
on the file system if the path is the only key into
the file system. A directory rename in the middle of
the path would ruin a large part of the secondary
index.

I'm with you on SAN vs global. Identifying files by
unique id also has a big advantage in a globally
distributed file system by allowing easy replication. 

One project I have been looking in to is to making a
Goolge like interface to the local file system. In
other words provide a set a query terms to the file
system and get back a list of files that match. To do
this efficiently you need to be able to construct
stable, alternative indices.

I've never been a fan of always looking at my file
system via a single view based on path name.

=====
Jon Smirl
jonsmirl@yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-11  2:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-11  1:13 Some general questions about Reiser4 Jon Smirl
2002-12-11  1:27 ` Hans Reiser
2002-12-11  2:02   ` Jon Smirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.