[laptop-mode] Enabling Laptop Mode Activate Pdflush Every 3-4 Seconds
Ritesh Raj Sarraf
rrs at researchut.com
Wed May 27 10:40:17 CEST 2009
--nextPart1486275.e4WsBeV9e0
Content-Type: text/plain;
charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi Casey,
On Wednesday 27 May 2009 13:01:21 Ritesh Raj Sarraf wrote:
> On Wednesday 27 May 2009 11:39:28 Casey McGinty wrote:
> > 4. Open dmesg_before.txt and dmesg_after.txt. Remove the lines from
> > dmesg_after.txt that are also in dmesg.before.txt.
> >
> > 5. Send us the contents of dmesg_after.txt.
> >
> >
> > The file is attached...
>
> The log shows a lot of pdflush calls. I'm wondering what might be
> triggering it. I also noticed a vmware_hostd call being made. Do you have
> any VMWare product running ? With a guest in it ?
>
> Probably, Bart can give us more insight into this behavior.
>
> Just to be clear, you don't see the writes happening when there is no
> laptop- mode enabled ?
>
The other thing I noticed in your logs is:
[109411.067377] lgdt330x: i2c_read_demod_bytes: addr 0x0e select 0x58 error=
=20
(ret =3D=3D -19)
[109411.068000] lgdt330x: i2c_read_demod_bytes: addr 0x0e select 0x1c error=
=20
(ret =3D=3D -19)
I looked into the kernel source and it is related to a dvb driver.
This is what is getting triggered as part of your driver.
if (ret !=3D 2) {
printk(KERN_WARNING "lgdt330x: %s: addr 0x%02x select 0x%02x error=
=20
(ret =3D=3D %i)\n", __func__, state->config->demod_address, reg, ret);
With syslogd running, this message will be logged to syslog, which would th=
en=20
trigger an write.
The only question is, how much of this message is being written and how=20
frequently.
With laptop-mode enabled, when a daemon/driver logs to syslog, when is a=20
pdflush triggered and after how much of dirty pages?
Ritesh
=2D-=20
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
--nextPart1486275.e4WsBeV9e0
Content-Description: This is a digitally signed message part.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090527/a439cca7/attachment.pgp
--nextPart1486275.e4WsBeV9e0--
More information about the laptop-mode
mailing list