* file name match speed
@ 2005-08-27 22:59 Ming Zhang
2005-08-29 14:01 ` Ming Zhang
2005-08-29 20:19 ` Hans Reiser
0 siblings, 2 replies; 8+ messages in thread
From: Ming Zhang @ 2005-08-27 22:59 UTC (permalink / raw)
To: reiserfs
Hi folks
I would like to investigate the file name look up performance here.
assumed i have file name that is in digits, like 1,2,5,12, 43, 61,
98,300...
so how they will be hashed.
and if i want to look up file named as 64 while no such file available,
any quick way to find the file 61 in upper example?
this is like a database query. select first X with X <=64. :)
Ming
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file name match speed
2005-08-27 22:59 file name match speed Ming Zhang
@ 2005-08-29 14:01 ` Ming Zhang
2005-08-29 20:19 ` Hans Reiser
1 sibling, 0 replies; 8+ messages in thread
From: Ming Zhang @ 2005-08-29 14:01 UTC (permalink / raw)
To: reiserfs
read this from reiserfs4 intro on web.
"(Our current default plugin sorts filenames that are less than 15
letters long lexicographically. For those that are more than 15
characters long it sorts them first by their first 8 letters then by the
hash of the whole name.)"
so can this plugin sort my file name as i wish?
thanks!
ming
On Sat, 2005-08-27 at 18:59 -0400, Ming Zhang wrote:
> Hi folks
>
> I would like to investigate the file name look up performance here.
>
> assumed i have file name that is in digits, like 1,2,5,12, 43, 61,
> 98,300...
>
> so how they will be hashed.
>
> and if i want to look up file named as 64 while no such file available,
> any quick way to find the file 61 in upper example?
>
> this is like a database query. select first X with X <=64. :)
>
>
> Ming
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file name match speed
2005-08-27 22:59 file name match speed Ming Zhang
2005-08-29 14:01 ` Ming Zhang
@ 2005-08-29 20:19 ` Hans Reiser
2005-08-29 22:59 ` Ming Zhang
1 sibling, 1 reply; 8+ messages in thread
From: Hans Reiser @ 2005-08-29 20:19 UTC (permalink / raw)
To: mingz; +Cc: reiserfs
Ming Zhang wrote:
>Hi folks
>
>I would like to investigate the file name look up performance here.
>
>assumed i have file name that is in digits, like 1,2,5,12, 43, 61,
>98,300...
>
>so how they will be hashed.
>
>and if i want to look up file named as 64 while no such file available,
>any quick way to find the file 61 in upper example?
>
>this is like a database query. select first X with X <=64. :)
>
>
>Ming
>
>
>
>
>
>
>
It would be useful to add such functionality to sys_reiser4.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file name match speed
2005-08-29 20:19 ` Hans Reiser
@ 2005-08-29 22:59 ` Ming Zhang
2005-08-29 23:34 ` Hans Reiser
0 siblings, 1 reply; 8+ messages in thread
From: Ming Zhang @ 2005-08-29 22:59 UTC (permalink / raw)
To: Hans Reiser; +Cc: reiserfs
On Mon, 2005-08-29 at 13:19 -0700, Hans Reiser wrote:
> Ming Zhang wrote:
>
> >Hi folks
> >
> >I would like to investigate the file name look up performance here.
> >
> >assumed i have file name that is in digits, like 1,2,5,12, 43, 61,
> >98,300...
> >
> >so how they will be hashed.
> >
> >and if i want to look up file named as 64 while no such file available,
> >any quick way to find the file 61 in upper example?
> >
> >this is like a database query. select first X with X <=64. :)
> >
> >
> >Ming
> >
> >
> It would be useful to add such functionality to sys_reiser4.
hope u can add to your todo list and hope later i can contribute some.
Ming
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file name match speed
2005-08-29 22:59 ` Ming Zhang
@ 2005-08-29 23:34 ` Hans Reiser
2005-08-30 13:03 ` Ming Zhang
0 siblings, 1 reply; 8+ messages in thread
From: Hans Reiser @ 2005-08-29 23:34 UTC (permalink / raw)
To: mingz; +Cc: reiserfs
Ming Zhang wrote:
>On Mon, 2005-08-29 at 13:19 -0700, Hans Reiser wrote:
>
>
>>Ming Zhang wrote:
>>
>>
>>
>>>Hi folks
>>>
>>>I would like to investigate the file name look up performance here.
>>>
>>>assumed i have file name that is in digits, like 1,2,5,12, 43, 61,
>>>98,300...
>>>
>>>so how they will be hashed.
>>>
>>>and if i want to look up file named as 64 while no such file available,
>>>any quick way to find the file 61 in upper example?
>>>
>>>this is like a database query. select first X with X <=64. :)
>>>
>>>
>>>Ming
>>>
>>>
>>>
>>>
>>It would be useful to add such functionality to sys_reiser4.
>>
>>
>
>hope u can add to your todo list and hope later i can contribute some.
>
>Ming
>
>
>
>
>
>
It is on our todo list, and it is important, but there are about 5 years
of features ahead of it. If you feel the need for it, I encourage you
to contribute.:)
Be aware that it will be highly political, sigh..... but important.....
Hans
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file name match speed
2005-08-29 23:34 ` Hans Reiser
@ 2005-08-30 13:03 ` Ming Zhang
2005-08-30 16:33 ` I am releasing FTLinuxCourse for free Dr. Giovanni A. Orlando
0 siblings, 1 reply; 8+ messages in thread
From: Ming Zhang @ 2005-08-30 13:03 UTC (permalink / raw)
To: Hans Reiser; +Cc: reiserfs
On Mon, 2005-08-29 at 16:34 -0700, Hans Reiser wrote:
> >>>
> >>It would be useful to add such functionality to sys_reiser4.
> >>
> >>
> >
> >hope u can add to your todo list and hope later i can contribute some.
> >
> >Ming
> >
> >
> >
> >
> >
> >
> It is on our todo list, and it is important, but there are about 5 years
> of features ahead of it. If you feel the need for it, I encourage you
> to contribute.:)
>
> Be aware that it will be highly political, sigh..... but important.....
>
> Hans
i will read reiserfs 4 doc and see what i can do. ;)
ming
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-08-31 1:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-27 22:59 file name match speed Ming Zhang
2005-08-29 14:01 ` Ming Zhang
2005-08-29 20:19 ` Hans Reiser
2005-08-29 22:59 ` Ming Zhang
2005-08-29 23:34 ` Hans Reiser
2005-08-30 13:03 ` Ming Zhang
2005-08-30 16:33 ` I am releasing FTLinuxCourse for free Dr. Giovanni A. Orlando
2005-08-31 1:00 ` Hans Reiser
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.