Skip to content

Commit

Permalink
Fixed: rss-ladder was broken due the changed order of the initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
strizhechenko committed Jul 9, 2017
1 parent 3da0cd2 commit 44b5531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netutils_linux_tuning/rss_ladder.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ def __init__(self):
if not exists(interrupts_file): # unit-tests
return
self.interrupts = open(interrupts_file).readlines()
for postfix in sorted(self.queue_postfixes_detect()):
self.smp_affinity_list_apply(self.smp_affinity_list_make(postfix))
if not self.options.cpus: # no need to detect topology if user gave us cpu list
self.numa = Numa(lscpu_output=lscpu_output)
for postfix in sorted(self.queue_postfixes_detect()):
self.smp_affinity_list_apply(self.smp_affinity_list_make(postfix))

@staticmethod
def parse_options():
Expand Down

0 comments on commit 44b5531

Please sign in to comment.