Re: [PATCH v2 0/2] MIPS: convert to generic entry

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

 



Hi Thomas,

On 2021/9/23 下午10:33, Zhou Yanjie wrote:
Hi Thomas,

On 2021/9/21 下午11:57, Thomas Bogendoerfer wrote:
On Tue, Sep 14, 2021 at 05:30:14PM +0800, Feiyang Chen wrote:
On Tue, 14 Sept 2021 at 16:54, Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote:


在 2021/9/14 2:50, Feiyang Chen 写道:
Convert MIPS to use the generic entry infrastructure from
kernel/entry/*.

v2: Use regs->regs[27] to mark whether to restore all registers in
handle_sys and enable IRQ stack.
Hi Feiyang,

Thanks for your patch, could you please expand how could this improve
the performance?

Hi, Jiaxun,

We always restore all registers in handle_sys in the v1 of the
patchset. Since regs->regs[27] is marked where we need to restore all
registers, now we simply use it as the return value of do_syscall to
determine whether we can only restore partial registers in handle_sys.
can people, who provided performance numbers for v1 do the same for v2 ?


Sure, I will test the v2 in the next few days.


Sorry for the delay, It took a lot of time to migrate the environment to my new computer, here is the results:


Score Without Patches  Score With Patches  Performance Change SoC Model
       105.9                102.1              -3.6%  JZ4775
       132.4                124.1              -6.3%  JZ4780(SMP off)
       170.2                155.7             -8.5%  JZ4780(SMP on)
       101.3                 91.5              -9.7%  X1000E
       187.1                179.4              -4.1%  X1830
       324.9                314.3              -3.3%  X2000(SMT off)
       394.6                373.9              -5.2%  X2000(SMT off)


Compared with the V1 version, there are some improvements, but the performance loss is still a bit obvious

Thanks and best regards!




Thanks and best regards!



Thomas,




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux