Ilya Dryomov
74a5293832
crush: don't normalize input of crush_ln iteratively
...
Use __builtin_clz() supported by GCC and Clang to figure out
how many bits we should shift instead of shifting by a bit
in a loop until the value gets normalized. Improves performance
of this function by up to 3x in worst-case scenario and overall
straw2 performance by ~10%.
Reflects ceph.git commit 110de33ca497d94fc4737e5154d3fe781fa84a0a.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2016-10-05 23:02:04 +02:00
..
2016-07-08 13:23:12 +02:00
2016-08-09 13:42:36 +03:00
2016-07-24 00:53:32 -04:00
2016-02-18 14:59:34 -05:00
2016-07-05 09:06:28 -07:00
2016-06-18 20:55:34 -07:00
2016-07-24 00:53:32 -04:00
2016-07-18 09:33:28 +03:00
2016-07-25 10:53:34 -07:00
2016-06-28 05:26:14 -04:00
2016-06-23 11:23:49 +02:00
2016-10-05 23:02:04 +02:00
2016-07-28 12:26:31 -07:00
2015-10-09 07:52:27 -07:00
2016-07-29 17:38:46 -07:00
2016-07-05 14:08:47 -07:00
2016-04-11 22:37:37 +01:00
2016-07-19 19:42:01 -07:00
2016-02-24 13:58:05 -05:00
2016-05-16 14:00:43 -04:00
2016-07-08 13:23:12 +02:00
2016-07-30 21:21:57 -07:00
2016-07-30 20:41:59 -07:00
2016-07-27 12:03:20 -07:00
2016-07-29 17:38:46 -07:00
2016-07-25 11:17:16 -07:00
2015-10-23 03:05:19 -07:00
2016-07-26 15:19:46 -07:00
2016-06-17 21:25:29 -07:00
2016-05-29 22:33:25 -07:00
2016-05-09 15:59:24 -04:00
2016-07-06 15:04:52 +02:00
2016-03-19 10:05:34 -07:00
2016-07-09 17:45:56 -04:00
2016-07-25 10:32:59 -07:00
2016-07-27 12:03:20 -07:00
2016-06-27 15:06:18 -04:00
2016-06-09 22:26:24 -07:00
2016-07-11 02:02:03 +02:00
2016-07-22 17:04:55 +02:00
2016-07-24 00:53:32 -04:00
2016-02-11 03:54:14 -05:00
2016-05-17 14:11:19 -04:00
2016-07-15 11:36:58 -07:00
2016-04-05 10:48:53 +02:00
2016-07-13 11:53:40 -07:00
2016-07-15 14:16:25 -07:00
2016-07-25 21:49:20 -07:00
2016-07-30 22:06:22 -07:00
2016-08-12 12:32:24 -07:00
2016-07-14 13:34:29 -07:00
2016-07-30 20:38:22 -07:00
2016-07-26 16:19:19 -07:00
2016-08-02 02:57:30 +03:00
2016-08-04 08:50:07 -04:00
2016-05-09 22:45:33 -04:00
2016-05-09 15:59:24 -04:00
2016-06-09 23:41:03 -07:00
2016-07-19 20:49:16 -07:00
2016-07-19 20:49:16 -07:00
2016-05-19 19:12:14 -07:00
2016-06-06 20:16:22 +10:00