This is the profile of a 2.4.19-rc3-ac4 after a heavy disk /swap usage.
I send it because it seems that page_referenced takes a lot of time....
607951 default_idle 15198,7750
1019 page_referenced 16,9833
831 serial_in 15,9808
406 __rdtsc_delay 14,5000
836 unlock_page 6,3333
242 sock_poll 6,0500
126 fget 3,1500
287 handle_IRQ_event 3,1196
409 idedisk_end_request 2,5562
163 page_over_rsslimit 2,5469
155 system_call 2,4219
279 unix_poll 2,1136
77 serial_icr_write 1,9250
109 __generic_copy_to_user 1,8167
58 add_wait_queue 1,4500
40 reiserfs_clean_and_file_buffer 1,2500
109 __wake_up 1,2386
285 do_anonymous_page 1,2284
89 find_inode 1,1711
478 is_leaf 1,0864
149 get_hash_table 1,0643
93 __generic_copy_from_user 1,0568
483 do_select 1,0147
284 ide_wait_stat 1,0143
<snip.....>
On Wed, 31 Jul 2002, Diego Calleja wrote:
> This is the profile of a 2.4.19-rc3-ac4 after a heavy disk /swap usage.
> I send it because it seems that page_referenced takes a lot of time....
That might well be because it's being called a LOT, since in
a disk/swap intensive workload we want to make very sure we
evict the right page from RAM.
A disk seek is worth about ten million CPU cycles...
> 607951 default_idle 15198,7750
> 1019 page_referenced 16,9833
> 831 serial_in 15,9808
> 406 __rdtsc_delay 14,5000
> 836 unlock_page 6,3333
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/