public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] readahead02 failure on PPC
Date: Thu, 24 Mar 2016 11:38:17 -0400 (EDT)	[thread overview]
Message-ID: <978771477.14173505.1458833897194.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <SN1PR12MB07827F3DA5BDF10860ED7DC4EE820@SN1PR12MB0782.namprd12.prod.outlook.com>





----- Original Message -----
> From: "Kshitij Malik" <Kshitij.Malik@mitel.com>
> To: "Julio Cruz Barroso" <julio.cruz@smartmatic.com>, "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp@lists.linux.it
> Sent: Thursday, 24 March, 2016 3:40:21 PM
> Subject: Re: [LTP] readahead02 failure on PPC
> 
> Thank you Julio for the update.
> 
> Jan,
> 
> Can we take the changes shared by you as an official fix?

I'm on the fence whether we should also add configure check for it.
Wrapper is in glibc since 2.3, which is quite old. Let's try posting
it as is and see if anyone objects.

Regards,
Jan

> 
> Thanks
> KK
> ________________________________________
> From: Julio Cruz Barroso <julio.cruz@smartmatic.com>
> Sent: Wednesday, March 23, 2016 01:46
> To: Kshitij Malik
> Cc: Jan Stancek; ltp@lists.linux.it
> Subject: RE: [LTP] readahead02 failure on PPC
> 
> Hi again,
> 
> Additionally, to previous comments, I try the patch in a 32bits system (with
> Kernel 3.14) and the TWARN is gone.
> 
> I perform the test 10 times in two boards: 1) 32 bits with one core and 512MB
> RAM and 2) 32 bits with two cores and same RAM:
> 
> - With patch: 5 times show PASS in both boards
> - Without patch: 5 times show FAIL in both boards
> 
> This time, I don’t get inconsistent results.
> 
> Regards
> 
> Julio
> 
> > -----Original Message-----
> > From: Kshitij Malik [mailto:Kshitij.Malik@mitel.com]
> > Sent: Wednesday, March 23, 2016 10:55 AM
> > To: Julio Cruz Barroso
> > Cc: Jan Stancek; ltp@lists.linux.it
> > Subject: RE: [LTP] readahead02 failure on PPC
> >
> > Hi Julio,
> >
> > Thank you for the update.
> >
> > I was also getting the /proc/pid/io error to start with and I fixed it by
> > enabling kernel configurations CONFIG_TASKSTATS,
> > CONFIG_TASK_IO_ACCOUNTING and other related configs.
> >
> > These configs creates the io directory for a thread in proc.
> >
> > Jan,
> >
> > Do you think your fix can be used as an official patch?
> >
> > Thanks
> > KK
> >
> > On Mar 22, 2016 22:39, Julio Cruz Barroso <julio.cruz@smartmatic.com>
> > wrote:
> > >
> > > Hi Jan, Kshitij,
> > >
> > > Checking my logs (imx6 32bits based platform) the error is similar [1]:
> > >
> > > readahead02 0 TWARN : readahead02.c:324: using less cache than
> > expected
> > >
> > > However, the results were not consistent, because, once time PASS and
> > another FAIL (with previous TWARN).
> > >
> > > Another thing different was (in my case):
> > >
> > > readahead02 3 TCONF : readahead02.c:309: Your system doesn't have
> > /proc/pid/io, unable to determine read bytes during test
> > >
> > > This last one, is the part 1 of the test case (read bytes during test).
> > > The part
> > 2 (verify the cache) is the same TWARN.
> > >
> > > At the end, I skipped this test case because the results were not
> > > consistent
> > and need further analysis.
> > >
> > > Regards,
> > > Julio
> > >
> > >
> > > [1] logs for imx6: https://justpaste.it/s4zk
> > >
> > > -----Original Message-----
> > > From: ltp [mailto:ltp-bounces+julio.cruz=smartmatic.com@lists.linux.it]
> > > On
> > Behalf Of Julio Cruz Barroso
> > > Sent: Tuesday, March 22, 2016 11:19 PM
> > > To: Jan Stancek
> > > Cc: Julio Cruz; Kshitij Malik; ltp@lists.linux.it
> > > Subject: Re: [LTP] readahead02 failure on PPC
> > >
> > > Hi Jan, Kshitij,
> > >
> > > I just saw this email!
> > >
> > > I will review the issue because I cannot remember the result details and
> > > let
> > you know tomorrow (CST).
> > >
> > > I expect also to upload the others patchs reviewed.
> > >
> > > Regards
> > >
> > > Julio
> > >
> > >
> > > > On Mar 22, 2016, at 5:50 PM, Jan Stancek <jstancek@redhat.com> wrote:
> > > >
> > > > Kshitij
> > >
> > > --
> > > Mailing list info: https://lists.linux.it/listinfo/ltp
> > ________________________________
> > NOTE: This e-mail (including any attachments) is for the sole use of the
> > intended recipient(s) and may contain information that is confidential
> > and/or
> > protected by legal privilege. Any unauthorized review, use, copy,
> > disclosure
> > or distribution of this e-mail is strictly prohibited. If you are not the
> > intended
> > recipient, please notify Mitel immediately and destroy all copies of this
> > e-
> > mail. Mitel does not accept any liability for breach of security, error or
> > virus
> > that may result from the transmission of this message.
> 

  reply	other threads:[~2016-03-24 15:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23  2:54 [LTP] readahead02 failure on PPC Kshitij Malik
2016-03-23  5:46 ` Julio Cruz Barroso
2016-03-24 14:40   ` Kshitij Malik
2016-03-24 15:38     ` Jan Stancek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-17 17:40 Kshitij Malik
2016-03-17 19:57 ` Kshitij Malik
2016-03-17 21:17 ` Jan Stancek
2016-03-17 22:03   ` Kshitij Malik
2016-03-18  8:42     ` Jan Stancek
2016-03-21 18:38       ` Kshitij Malik
2016-03-22  9:49         ` Jan Stancek
2016-03-22 15:18           ` Julio Cruz Barroso
2016-03-23  2:39             ` Julio Cruz Barroso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=978771477.14173505.1458833897194.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox