> > Yes, rtnl will bring some overheads. But the configuration is one time
> > thing for application or socket. It only happens on receiving first
> > packet.
>
> Thanks for destroying our connection rates.
>
> This kind of overhead is simply unacceptable.
If so, I think I can make the configu
From: "Liang, Kan"
Date: Tue, 19 Jul 2016 01:49:41 +
> Yes, rtnl will bring some overheads. But the configuration is one
> time thing for application or socket. It only happens on receiving
> first packet.
Thanks for destroying our connection rates.
This kind of overhead is simply unaccepta
>
> > Also of course it would be fundamentally less efficient than kernel
> > code doing that, just because of the additional context switches
> > needed.
>
> Synchronizing or configuring any kind of queues already requires rtnl_mutex.
> I didn't test it but acquiring rtnl mutex in inet_recvmsg
Hello,
On Mon, Jul 18, 2016, at 21:43, Andi Kleen wrote:
> > I wonder if this can be attacked from a different angle. What would be
> > missing to add support for this in user space? The first possibility
> > that came to my mind is to just multiplex those hints in the kernel.
>
> "just" is the h
On 07/18/2016 08:30 PM, Liang, Kan wrote:
On 07/18/2016 08:55 AM, kan.li...@intel.com wrote:
[...]
On a higher level picture, why for example, a new cgroup in combination
with tc shouldn't be the ones resolving these policies on resource usage?
The NET policy doesn't support cgroup yet, but i
> >>
> >> On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote:
> >> >> It seems strange to me to add such policies to the kernel.
> >> >> Addmittingly, documentation of some settings is non-existent and
> >> >> one needs various different tools to set this (sysctl, procfs, sysfs,
> ethtool, etc).
On Mon, Jul 18, 2016 at 1:14 PM, Liang, Kan wrote:
>
>
>>
>> On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote:
>> >> It seems strange to me to add such policies to the kernel.
>> >> Addmittingly, documentation of some settings is non-existent and one
>> >> needs various different tools to set th
>
> On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote:
> >> It seems strange to me to add such policies to the kernel.
> >> Addmittingly, documentation of some settings is non-existent and one
> >> needs various different tools to set this (sysctl, procfs, sysfs, ethtool,
> >> etc).
> >
> > Th
> > So where is your policy for power saving? From past experience I can tell
> > you
>
> There is no policy for power saving yet. I will add it to my todo list.
Yes it's interesting to consider. The main goal here is to maximize CPU
idle residency? I wonder if that's that much different from t
> On Sun, Jul 17, 2016 at 11:55 PM, wrote:
> > From: Kan Liang
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do automatic tuning for all possible workloads,
> > sinc
> I wonder if this can be attacked from a different angle. What would be
> missing to add support for this in user space? The first possibility
> that came to my mind is to just multiplex those hints in the kernel.
"just" is the handwaving part here -- you're proposing a micro kernel
approach wher
On 18.07.2016 17:45, Andi Kleen wrote:
>> It seems strange to me to add such policies to the kernel.
>> Addmittingly, documentation of some settings is non-existent and one needs
>> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
>
> The problem is that different applica
>
> Hi Kan,
>
> On 07/18/2016 08:55 AM, kan.li...@intel.com wrote:
> > From: Kan Liang
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do automatic tuning for all poss
> On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote:
> >
> >
> >> >
> >> > It is a big challenge to get good network performance. First, the
> >> > network performance is not good with default system settings.
> >> > Second, it is too difficult to do automatic tuning for all possible
> >> > work
On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote:
>> It seems strange to me to add such policies to the kernel.
>> Addmittingly, documentation of some settings is non-existent and one needs
>> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
>
> The problem is that diffe
>
> > > It seems strange to me to add such policies to the kernel.
> >
> > But kernel is the only place which can merge all user's requests.
>
> I don't think so.
>
> If different requests conflict in a way that is possible to dosomething
> meaningful the I don't see why userspace tool cannot
On Sun, Jul 17, 2016 at 11:55 PM, wrote:
> From: Kan Liang
>
> It is a big challenge to get good network performance. First, the network
> performance is not good with default system settings. Second, it is too
> difficult to do automatic tuning for all possible workloads, since workloads
> have
On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote:
>
>
>> >
>> > It is a big challenge to get good network performance. First, the
>> > network performance is not good with default system settings. Second,
>> > it is too difficult to do automatic tuning for all possible workloads,
>> > since workl
Hi Kan,
On 07/18/2016 08:55 AM, kan.li...@intel.com wrote:
From: Kan Liang
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since worklo
Liang, Kan wrote:
> > What is missing in the kernel UAPI so userspace could do these settings on
> > its
> > own, without adding this policy stuff to the kernel?
>
> The main purpose of the proposal is to simplify the configuration. Too many
> options will let them confuse.
> For normal users,
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do automatic tuning for all possible workloads,
> > since workloads have different requirements. Some workloads may want
>
> It seems strange to me to add such policies to the kernel.
> Addmittingly, documentation of some settings is non-existent and one needs
> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
The problem is that different applications need different policies.
The only entit
kan.li...@intel.com wrote:
> From: Kan Liang
>
> It is a big challenge to get good network performance. First, the network
> performance is not good with default system settings. Second, it is too
> difficult to do automatic tuning for all possible workloads, since workloads
> have different req
23 matches
Mail list logo