1. 07 Mar, 2022 1 commit
  2. 06 Mar, 2022 4 commits
  3. 05 Mar, 2022 7 commits
  4. 03 Mar, 2022 3 commits
  5. 02 Mar, 2022 6 commits
  6. 01 Mar, 2022 2 commits
    • Michael Tremer's avatar
      ipset: Fix hash type for IPv6 · 27dc4fa5
      Michael Tremer authored
      IPv6 exports could not be loaded because sets were created as type
      "inet" instead of "inet6" which is fixed by this patch.
      Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
      27dc4fa5
    • Michael Tremer's avatar
      ipset: Optimise hash table size · 47de14b0
      Michael Tremer authored
      ipset uses a hash table internally which can be dynamically sized to
      chose whether more space efficiency or performance is required.
      
      Previously to this patch, we always set the size of the hash table to
      1024 buckets. Having large sets with almost half a million entries, this
      is not performing well since we will spend a lot of time in searching
      the linked list.
      
      This will probably perform even slower on systems with smaller cache
      sizes like the IPFire Mini Appliance.
      
      Having more buckets that are sparesely filled, will result in less
      memory fetches at the cost of more wastage. Throughout the whole IPv4
      set, this ranges from about 50 MB for a factor of 4, to about 100 MB for
      a factor of 0.75.
      
      Since memory of this quantity is cheap and since we want to increase
      throughput, I have chosen to set the fill factor to 0.75.
      
      Logistically, it is a little bit complicated to know this in advance
      when we have to write the header, so we will write the entire file
      first, and then come back to write the header again. This is required to
      keep memory consumption down during the export.
      Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
      47de14b0
  7. 25 Feb, 2022 1 commit
  8. 16 Feb, 2022 1 commit
  9. 11 Feb, 2022 3 commits
  10. 02 Jan, 2022 4 commits
  11. 13 Dec, 2021 4 commits
  12. 23 Nov, 2021 3 commits
  13. 20 Nov, 2021 1 commit