Skip to contentSkip to conversation

pmdisk performance problem

DISCUSSION Narayan Desai 4 participants 7 messages Oct 9, 2003 – Oct 11, 2003

lore
Share & tools
lore
#0 lore raw

When using 2.6.0-test7 on an ibm thinkpad t21, pmdisk works properly, though it takes quite a while to write out pages to disk. On my last suspend to disk, it took on the order of 8-10 minutes. After this completed, i was able to successfully resume, fairly speedily, however my hardware clock was 8-10 minutes behind. Does anyone have any ideas why this is happening? thanks...
-nld

#1 lore raw
Quoted 7 lines

When using 2.6.0-test7 on an ibm thinkpad t21, pmdisk works properly, though it takes quite a while to write out pages to disk. On my last suspend to disk, it took on the order of 8-10 minutes. After this completed, i was able to successfully resume, fairly speedily, however my hardware clock was 8-10 minutes behind. Does anyone have any ideas why this is happening? thanks...

Do you know if this was just for the write operation, or also included stopping all processes?

Could you increase the log-level before you suspend and let me know -- by looking at the debug messages -- what seems to take the most time?

Thanks,

Pat

#2 lore raw
Quoted 9 lines
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Pat" == Patrick Mochel <[email protected]> writes:

When using 2.6.0-test7 on an ibm thinkpad t21, pmdisk works properly, though it takes quite a while to write out pages to disk. On my last suspend to disk, it took on the order of 8-10 minutes. After this completed, i was able to successfully resume, fairly speedily, however my hardware clock was 8-10 minutes behind. Does anyone have any ideas why this is happening? thanks...

Pat> Do you know if this was just for the write operation, or also Pat> included stopping all processes?

This was during the write of ~4600 pages to disk.

Pat> Could you increase the log-level before you suspend and let me Pat> know -- by looking at the debug messages -- what seems to take Pat> the most time?

sorry, but how do i do this?
thanks..
-nld

#3 lore raw
Quoted 5 lines

Pat> Do you know if this was just for the write operation, or also Pat> included stopping all processes?

This was during the write of ~4600 pages to disk.

Hm, that's definitely bad.

Quoted 5 lines

Pat> Could you increase the log-level before you suspend and let me Pat> know -- by looking at the debug messages -- what seems to take Pat> the most time?

sorry, but how do i do this?

Sorry,

dmesg -n 8

should do it.

Pat

#5 lore raw
In reply to Narayan Desai

For the clock issue, you need to run /sbin/hwclock --hctosys post resume (this is not a bug in Software Suspend).

Regards,

Nigel

Quoted 12 lines · Narayan Desai

When using 2.6.0-test7 on an ibm thinkpad t21, pmdisk works properly, though it takes quite a while to write out pages to disk. On my last suspend to disk, it took on the order of 8-10 minutes. After this completed, i was able to successfully resume, fairly speedily, however my hardware clock was 8-10 minutes behind. Does anyone have any ideas why this is happening? thanks...
-nld
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 5 lines
Nigel Cunningham
495 St Georges Road South, Hastings 4201, New Zealand

Evolution (n): A process whereby infinitely improbable events occur with
alarming frequency, order arises from chaos, and no one is given credit.
#4 lore raw
In reply to Patrick Mochel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Pat" == Patrick Mochel <[email protected]> writes:

Pat> Do you know if this was just for the write operation, or also Pat> included stopping all processes?

Quoted 2 lines
Quoted 2 lines

This was during the write of ~4600 pages to disk.

Pat> Hm, that's definitely bad.

Pat> Could you increase the log-level before you suspend and let me Pat> know -- by looking at the debug messages -- what seems to take Pat> the most time?

Quoted 2 lines
Quoted 2 lines

sorry, but how do i do this?

the particular line that takes the most time is the writing 4700 pages to disk followed by the dots. each dot takes about 10 seconds to appear on screen.

I also notice that both hda and hdc are both suspended and resumed before this point. Is this intentional?
-nld

#6 lore raw
In reply to Narayan Desai

Hi!

Quoted 6 lines

When using 2.6.0-test7 on an ibm thinkpad t21, pmdisk works properly, though it takes quite a while to write out pages to disk. On my last suspend to disk, it took on the order of 8-10 minutes. After this completed, i was able to successfully resume, fairly speedily, however my hardware clock was 8-10 minutes behind. Does anyone have any ideas why this is happening? thanks...

I have seen this too, with swsusp on x86-64 machine. Suspend took awfully long, in "writing data" phase.

Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]