Re: THP broken on OCTEON?

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

 



On 05/27/2016 18:05, Aaro Koskinen wrote:
> Hi,
> 
> On Fri, May 27, 2016 at 05:03:06PM -0400, Joshua Kinard wrote:
>> If the binaries on the initramfs are built to any of the MIPS-I to MIPS-IV
>> ISAs, I can test this on my IP27/Onyx2 system as well, though I'll have to
>> build an IP27 kernel and just use the initramfs.
> 
> I built them using --with-arch=octeon+ so they won't work on other HW.
> 
> But there isn't any magic in my binaries. If you have a working 64-bit
> Linux MIPS system (with GCC and make) you can easily try my test case:
> 
> - compile Linux 4.6 with THP (always enabled) and 4KB page size
> 
> 	(preferably using GCC >= 4.9.3)
> 
> - boot with the new kernel & log in
> 
> - execute the following commands:
> 
> 	curl -O http://www.cpan.org/src/5.0/perl-5.22.2.tar.gz
> 	tar xf perl-5.22.2.tar.gz
> 	cd perl-5.22.2
> 	sh Configure -de -Dprefix=/usr -Dcc=gcc && make && make test
> 
> If this passes without odd crashes or hangs (which I highly doubt),
> please post the output of:
> 
> 	grep thp /proc/vmstat
> 

Perl-5.22 is already built on this platform (it's Gentoo), but 5.24 is out, so
I can run that build w/ THP on.  I doubt it will get that far, though.
Assuming it even survives the boot process and gets to runlevel 3, then just
running "emerge" (Gentoo's default package manager) and letting it calculate
dependencies usually trips things up.  The whole system dies in that instance,
but maybe if I boot to single-user and dork around, I can trigger a bus error
or five and still have enough time to grep /proc/vmstat...

-- 
Joshua Kinard
Gentoo/MIPS
kumba@xxxxxxxxxx
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux