All of lore.kernel.org
 help / color / mirror / Atom feed
* Speedup patch for 2.4.19-pre6 in bitmap.c
@ 2002-04-10 14:55 Philippe Gramoulle
  2002-04-10 15:02 ` Oleg Drokin
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Gramoulle @ 2002-04-10 14:55 UTC (permalink / raw)
  To: ReiserFS Mailing List


Hi Oleg,

As you seem to find the list quite calm, i will try to set a little bit of animation :o)

Here it goes: 

i'm trying to set up a 2.4.19-pre6 kernel with the following patches:

- NFS linux-2.4.19-NFS_ALL.dif  for pre6
- linux-2.4.19-12-neilb.dif     for pre6 for NFSv3 TCP

- Quota patches :
  - quota-v2-2.4.19-pre3: Jan Kara's v2 quota code
  - dquot_deadlock.diff.gz
  - nesting-10-2.4.19-pre3.diff.gz
  - reiserfs-quota-22.diff.gz
  - kinoded-8-2.4.19-pre3.diff.gz

- fs/dquot.c : change in sys_quotactl : remove the 
	       if (id & ~0xFFFF)
                goto out;
	       for 32 bits UIDs

- speedup patch for 2.4.19-pre6 recently posted to the list.


Patches apply correctly except one reject in bitmap.c when applying the speedup patch.

Here is the bitmap.c.rej:

***************
*** 122,128 ****
    set_sb_free_blocks( rs, sb_free_blocks(rs) + 1 );
  
    journal_mark_dirty (th, s, sbh);
-   s->s_dirt = 1;
  }
  
  void reiserfs_free_block (struct reiserfs_transaction_handle *th, 
--- 122,127 ----
    set_sb_free_blocks( rs, sb_free_blocks(rs) + 1 );
  
    journal_mark_dirty (th, s, sbh);
  }
  
  void reiserfs_free_block (struct reiserfs_transaction_handle *th, 

because of the addition from reiserfs-quota-22.diff :

+  if (for_unformatted) {
+#ifdef REISERQUOTA_DEBUG
+    printk(KERN_DEBUG "reiserquota: freeing block id=%u\n", inode->i_uid);
+#endif
+    DQUOT_FREE_BLOCK_NODIRTY(inode, 1);
+  }

Is this something i can blindly update by hand ,i mean manually remove "s->s_dirt = 1;" ?

I'll do so in the meantime and test it on our test bed system.

At the moment i'm pretty surprised by the NFSv3 TCP performance:
( 6.32 Mb/s for a single dd if=/dev/zero of =testfile bs=8192 count=25000 , 200Mb file)
( average of 460 Kb/s when uploading a 184Mo compiled kernel tree through FTP)

Before that i manage to get 10Mb/s on an eepro100 with vanilla 2.4.18 and NFS_ALL TCP from Trond
(either NFSv3 TCP or UDP)

Thanks,

Philippe.

PS: NFS server and client are Linux boxes running 2.4.18 and above kernel (from the 2.4.x series) both fully
reiserfs'ified

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Speedup patch for 2.4.19-pre6 in bitmap.c
@ 2002-04-10 15:04 wolfgang.glas
  0 siblings, 0 replies; 8+ messages in thread
From: wolfgang.glas @ 2002-04-10 15:04 UTC (permalink / raw)
  To: Philippe Gramoulle; +Cc: ReiserFS Mailing List

Dear Philippe,

   Reduced NFS performance goes hand in hand with short network stalls on 
our server.

So it would be helpful, if you could nmonitor your network performance 
with a tool like ksysguard showing you the time-dependancy of the network 
throughput. I bet, that you run into network stalls for around 1s, when 
your average performance is diminished.

  Regards,
 
    Wolfgang

--
Dr. Wolfgang Glas                        EV-i Informationstechnologie 
GmbH.
Geschäftsführer                          Sebastian-Kneipp-Weg 17
Wolfgang.Glas@ev-i.at                    A-6020 Innsbruck/Austria
phone: ++43-512-284883-2                 fax: ++43-512-281624-31


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-04-10 19:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 14:55 Speedup patch for 2.4.19-pre6 in bitmap.c Philippe Gramoulle
2002-04-10 15:02 ` Oleg Drokin
2002-04-10 15:09   ` Philippe Gramoulle
2002-04-10 15:13     ` Oleg Drokin
2002-04-10 18:48       ` Philippe Gramoulle
2002-04-10 19:05         ` Oleg Drokin
2002-04-10 19:09           ` Philippe Gramoulle
  -- strict thread matches above, loose matches on Subject: below --
2002-04-10 15:04 wolfgang.glas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.