Re: [PATCH] udevd: de-duplicate strings in rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 11, 2008 at 21:20, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
> On my Ubuntu installation this removes 15k of duplicate strings,
> using a temporary index of about 25k.

Great. That looks nice.

Thats's the diff of the rule dump before and after the patch:
  ...
  -[] udev_rules_new: shrunk to 64896 bytes tokens (5408 * 12 bytes),
57298 bytes buffer
  -[] dump_rules: dumping 5408 (64896 bytes) tokens, 5818 (57298 bytes) strings
  +[] udev_rules_new: shrunk to 64896 bytes tokens (5408 * 12 bytes),
18204 bytes buffer
  +[] udev_rules_new: used 40512 bytes of string index nodes (844 * 48 bytes)
  +[] dump_rules: dumping 5408 (64896 bytes) tokens, 1369 (18204 bytes) strings
  ...

Applied.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux