All of lore.kernel.org
 help / color / mirror / Atom feed
* Performance improvements to key comparison functions
@ 2004-06-23  8:43 David Dabbs
  0 siblings, 0 replies; 22+ messages in thread
From: David Dabbs @ 2004-06-23  8:43 UTC (permalink / raw)
  To: reiserfs-list


It appears that by removing some conditionals in the reiser4 key comparison
functions key comparison performance improves by at least 2x.
Using a purpose-built znode_contains_key_strict and the new comparison code,
cache scanning could be almost three times as fast -- even faster with a
single unsigned char 'hint' member added to the znode structure. 

A writeup, including the timings and the code, is available at

	http://dabbs.net/reiser4


I'd be interested in your feedback.


David Dabbs



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Performance improvements to key comparison functions
@ 2004-07-12  8:48 David Dabbs
  2004-07-13 18:33 ` Hans Reiser
  0 siblings, 1 reply; 22+ messages in thread
From: David Dabbs @ 2004-07-12  8:48 UTC (permalink / raw)
  To: reiserfs-list


It appears that by removing some conditionals in the reiser4 key comparison
functions key comparison performance improves by at least 2x.
Using a purpose-built znode_contains_key_strict and the new comparison code,
cache scanning could be almost three times as fast -- even faster with a
single unsigned char 'hint' member added to the znode structure. 

A writeup, including the timings and the code, is available at

	http://dabbs.net/reiser4


I'd be interested in your feedback.


David Dabbs



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Performance improvements to key comparison functions
@ 2004-07-12 18:38 David Dabbs
  2004-07-12 20:04 ` Nikita Danilov
  0 siblings, 1 reply; 22+ messages in thread
From: David Dabbs @ 2004-07-12 18:38 UTC (permalink / raw)
  To: reiserfs-list


If you downloaded the code at http://dabbs.net/reiser4 I have uploaded a new
zip file. I posted an incorrect version when I uploaded it in the wee hours
this morning. 
  
David



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

end of thread, other threads:[~2004-07-14  7:03 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-23  8:43 Performance improvements to key comparison functions David Dabbs
  -- strict thread matches above, loose matches on Subject: below --
2004-07-12  8:48 David Dabbs
2004-07-13 18:33 ` Hans Reiser
2004-07-13 19:59   ` David Dabbs
2004-07-14  6:59     ` Hans Reiser
2004-06-22 10:53       ` David Dabbs
2004-07-13 22:18   ` David Dabbs
2004-07-14  7:03     ` Hans Reiser
2004-07-12 18:38 David Dabbs
2004-07-12 20:04 ` Nikita Danilov
2004-07-12 20:26   ` David Dabbs
2004-07-10 23:18     ` Nikita Danilov
2004-07-12 21:27       ` David Dabbs
2004-07-11  0:01         ` Nikita Danilov
2004-07-12 22:03           ` David Dabbs
2004-07-12 12:00             ` Nikita Danilov
2004-07-13 17:58               ` David Dabbs
2004-07-12 20:49   ` David Dabbs
2004-07-10 23:23     ` Nikita Danilov
2004-07-12 21:07     ` mjt
2004-07-13 18:19       ` Hans Reiser
2004-07-12 21:42     ` Philippe Gramoullé

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.