[reiserfs-list] Re: [OpenAFS-devel] more on the 2.2.18pre17 SMP cpu hog/etc.

Vladimir V. Saveliev monstr@namesys.com
Sat, 02 Dec 2000 12:33:42 +0300


Hi

Nathan Neulinger wrote:

> Andi Kleen wrote:
> >
> > [you didn't say it in the mail, but I'll guess you're using a reiserfs
> > partition as a afs cache]
>
> Yes. But am using it on my work machine (actually dozens of machines)
> without any problems at all. But on my home machine, it crawls.
>
> > Could you profile the kernel and see what is taking up the CPU ?
> > (boot with profile=2 and read the profile log using readprofile afterwards)
>
> After readprofile -r, I ran afsd, waited for it to finish it's startup,
> and here's the result:
>
>      4 startup_32                                 0.0244
>      1 __switch_to                                0.0053
>      1 do_signal                                  0.0014
>      1 do_page_fault                              0.0010
>      2 schedule                                   0.0021
>      3 printk                                     0.0077
>      1 do_anonymous_page                          0.0076
>      1 filemap_nopage                             0.0012
>      2 kmalloc                                    0.0050
>      1 __get_free_pages                           0.0014
>    193 find_buffer                                1.3403
>     15 get_hash_table                             0.4167
>     94 reiserfs_get_hash_table                    0.6912
>      5 finish_log_block_io                        0.0154
>     61 reiserfs_getblk                            0.1676
>      4 fixup_reiserfs_buffers                     0.0303
>      1 sys_select                                 0.0007
>      1 d_lookup                                   0.0045
>      1 grow_inodes                                0.0023
>     40 decrement_counters_in_path                 0.5882
>    664 search_by_key                              0.6081
>      1 bin_search_in_dir_item                     0.0086
>     44 search_by_objectid                         0.1236

If this one was called - that might explain slowness of iget.

Thanks,
vs


>
>     69 reiserfs_bread                             0.4539
>      8 reiserfs_sync_block                        0.0435
>      1 tcp_listen_poll                            0.0125
>      1 ide_wait_stat                              0.0042
>      2 ide_dmaproc                                0.0037
>      2 do_rw_disk                                 0.0022
>      1 check_tty_count                            0.0083
>      1 write_chan                                 0.0018
>      2 __generic_copy_to_user                     0.0312
>      1 __generic_copy_from_user                   0.0156
>   1229 total                                      0.0011
>
> -- Nathan
>
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-4841
> CIS - Systems Programming                Fax: (573) 341-4216