On 15.11.2017 19:29, Eric W. Biederman wrote:
> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>
>> On 15.11.2017 09:25, Eric W. Biederman wrote:
>>> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>>>
>>>> Curently mutex is used to protect pernet o
On 15.11.2017 19:29, Eric W. Biederman wrote:
> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>
>> On 15.11.2017 09:25, Eric W. Biederman wrote:
>>> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>>>
>>>> Curently mutex is used to protect pernet o
On 15.11.2017 12:51, Kirill Tkhai wrote:
> On 15.11.2017 06:19, Eric W. Biederman wrote:
>> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>>
>>> On 14.11.2017 21:39, Cong Wang wrote:
>>>> On Tue, Nov 14, 2017 at 5:53 AM, Kirill Tkhai <ktk...@virtuozzo.com
On 15.11.2017 06:19, Eric W. Biederman wrote:
> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>
>> On 14.11.2017 21:39, Cong Wang wrote:
>>> On Tue, Nov 14, 2017 at 5:53 AM, Kirill Tkhai <ktk...@virtuozzo.com> wrote:
>>>> @@ -406,7 +406,7 @
On 15.11.2017 09:25, Eric W. Biederman wrote:
> Kirill Tkhai <ktk...@virtuozzo.com> writes:
>
>> Curently mutex is used to protect pernet operations list. It makes
>> cleanup_net() to execute ->exit methods of the same operations set,
>> which was used on t
On 14.11.2017 21:38, Andrei Vagin wrote:
> On Tue, Nov 14, 2017 at 09:04:06PM +0300, Kirill Tkhai wrote:
>> On 14.11.2017 20:44, Andrei Vagin wrote:
>>> On Tue, Nov 14, 2017 at 04:53:33PM +0300, Kirill Tkhai wrote:
>>>> Curently mutex is used to protect pe
On 14.11.2017 21:39, Cong Wang wrote:
> On Tue, Nov 14, 2017 at 5:53 AM, Kirill Tkhai <ktk...@virtuozzo.com> wrote:
>> @@ -406,7 +406,7 @@ struct net *copy_net_ns(unsigned long flags,
>>
>> get_user_ns(user_ns);
>>
>> - rv = mut
On 14.11.2017 20:44, Andrei Vagin wrote:
> On Tue, Nov 14, 2017 at 04:53:33PM +0300, Kirill Tkhai wrote:
>> Curently mutex is used to protect pernet operations list. It makes
>> cleanup_net() to execute ->exit methods of the same operations set,
>> which was used on the ti
On 14.11.2017 20:07, Eric Dumazet wrote:
> On Tue, 2017-11-14 at 16:53 +0300, Kirill Tkhai wrote:
>> Curently mutex is used to protect pernet operations list. It makes
>> cleanup_net() to execute ->exit methods of the same operations set,
>> which was used on the time o
CPU
2)for i in {1..1}; do unshare -n bash -c exit; done
Origin:
real 1m24,190s
user 0m6,225s
sys 0m15,132s
Patched:
real 0m18,235s (4.6 times faster)
user 0m4,544s
sys 0m13,796s
This patch requires commit 76f8507f7a64 "locking/rwsem: Add
down_read_killable()"
from Linus tree
rotection.
The possible solution could be to use rtnl_lock()
in fib_notifier_ops_unregister(), but this adds
a possible delay during net namespace creation,
so we better use rcu_read_lock() till someone
really needs the mutex (if that happens).
Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
t i;
for(i=0; i<1; i++)
do_gia();
}
---
Kirill Tkhai (2):
net: Implement net_stats callbacks
net: Iterate over present cpus only during ipstats calculation
include/net/stats.h |9 ++
net/core/Makefile |1 +
net/core/stats.c| 83 ++
Use net_stats callback to iterate only present cpus mask.
This gives a signify performance growth on configurations
with large number of possible cpus.
Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
---
net/ipv6/addrconf.c |4 +++-
net/ipv6/af_inet6.c
overhead of summation of
percpu statistics on all possible cpus, and iterate
only present cpus instead. It may give a signify
growth of performance on configurations with big
number of possible cpus.
Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
---
include/net/stats.h |9 ++
ne
This patch adds save and restore commands to "ip rule"
similar the same is made in commit f4ff11e3e298 for "ip route".
The feature is useful in checkpoint/restore for container
migration, also it may be helpful in some normal situations.
Signed-off-by: Kirill Tkhai <ktk..
/1.925 ms
# tc class change dev eth0 classid 1:2 parent 1: htb rate 1mbit mpu 1000
# ping -f -c 1000 10.30.22.52
rtt min/avg/max/mdev = 15.352/22.229/38.646/2.212 ms, pipe 3, ipg/ewma
15.999/22.609 ms
Signed-off-by: Kirill Tkhai ktk...@odin.com
CC: Jesper Dangaard Brouer bro...@redhat.com
CC
On 29.07.2015 16:04, Eric Dumazet wrote:
On Wed, 2015-07-29 at 14:24 +0300, Kirill Tkhai wrote:
commit 56b765b79 (htb: improved accuracy at high rates)
broke the mpu xxx handling.
This patch restores the mpu xxx handling for htb:
# tc class add dev eth0 classid 1:2 parent 1: htb rate 1mbit
Hi,
it looks like the bellow commit is missed in stable kernel versions.
In our local 2.6.32 tree without this commit we observed a bridge
dropping big packets. The fix is in mainstream kernel now.
Please, look if it's need for stable 3.10 kernel etc.
commit
401 - 418 of 418 matches
Mail list logo