All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Krause <manuel.krause@mb.tu-ilmenau.de>
To: "Dieter Nützel" <Dieter.Nuetzel@hamburg.de>
Cc: reiserfs-list <reiserfs-list@namesys.com>,
	"Yury Yu. Rupasov" <yura@yura.polnet.botik.ru>
Subject: Re: Comparison of notail and notail,iicache(14)  2.4.19-pre7
Date: Sat, 27 Apr 2002 00:56:53 +0200	[thread overview]
Message-ID: <3CC9DB35.6010106@mb.tu-ilmenau.de> (raw)
In-Reply-To: 200204270000.50274.Dieter.Nuetzel@hamburg.de

On 04/27/2002 12:00 AM, Dieter Nützel wrote:

> On Friday 26 April 2002 23:21, Manuel Krause wrote:
> 
>>On 04/26/2002 06:45 PM, Dieter Nützel wrote:
>>
>>>On Friday 26 April 2002 13:41, Yury Yu. Rupasov wrote:
>>>
>>>>Dieter Nützel wrote:
>>>>
>>>>>Manuel Krause wrote:
>>>>>
>>>>>[-]
>>>>>
> 
> [-]
> 
> 
>>>Had that before but Chris and Oleg gave me advice.
>>>I tried it this way:
>>>
>>>/* lock the current transaction */
>>>inline static void lock_journal(struct super_block *p_s_sb) {
>>>  PROC_INFO_INC( p_s_sb, journal.lock_journal );
>>>  debug_lock_break(1);
>>>  conditional_schedule();
>>>  down(&SB_JOURNAL(p_s_sb)->j_lock);
>>>}
>>>
>>>/* unlock the current transaction */
>>>inline static void unlock_journal(struct super_block *p_s_sb) {
>>>  up(&SB_JOURNAL(p_s_sb)->j_lock);
>>>}
>>>
>>>But then it seems to be _NOT_ preempt (+lock-break) save.
>>>System lock up (nothing in the logs, SysRq key didn't work) during
>>>latencytest0.42-png write test. Read test worked.
>>>
>>>Thanks,
>>>	Dieter
>>>
>>Mmh, I made this adjustment in the patch, too, since the first speedup
>>patches had been posted. I really don't know how serious this could be
>>in this code context.
>>
>>I had random hard locks,too, but blamed it to my degenerating hardware
>>so far.
>>
> 
> I think it is hardly hardware related.
> Try without lock-break (only disable it during make xconfig).


I should, if it helped for you. I've lost too much work time inbetween 
for now.

> 
> 
>>Could anyone else advise on preempt+lock-break-awareness here?
>>
> 
> Yura, Chris, Oleg or at least Robert Love :-)
> But Robert hasn't updated the lock-break stuff for some time. He will do it 
> soon.
> 


Yepp. I observed this fact and hope Robert to do so.

> 
>>The linux-2.4.19p6-compound-speedup.patch seems to be another measurable
>>tick faster than Olegs first patchset. Maybe, I'll post some values on
>>my setup over the weekend. I've had one faster run so far but it locked
>>up without log hints... ;-))
>>
> 
> Ha, ha,...:-)
> 
> Then I have one more for you:
> 
> Page coloring patch.
> It gave ~10% speedup on my 1 GHz Athlon II SlotA (0,18µm, L2 512K) for memory 
> intensive apps. But be aware, it locks up randomly. The maintainer is looking 
> for SMP testers 'cause it has something to-do with SMP -> preemption.
> My system is stable but lockup from time to time with the page_color module 
> loaded during "heavy" C and C++ compilations (~40 processes running in 
> parallel).


If I read this correctly I should leave my fingers from it...
Did I make a general mistake? Preempt+ does bring valuable advantages to 
my PIII 933 _uniprocessor_ setup, too.

> 
> Have a nice weekend.
> 
> -Dieter
> 
> BTW I'm working on Win VFAT disk recovery. Two damaged IBM IC35L060AVER07-0 
> costomer disks. One with only a single partition and one with three 
> partitions. Any advice if I should try with dd on the whole disk or every 
> partition?
> 
> 

Maybe we should exchange our actual hdparm and powertweak settings in 
private via phone soon? ;-)

On my current setup I have higher disk troughput rates on small 
partitions (<0.5GB) but dropoffs in the middle of larger ones (~2GB) if 
I trust the ksysguard display. I simply do "dd if=/dev/hda3 bs=1M 
of=/dev/hdd3" after earlier timeless fiddling with bs=xyz and 
xyz~disk-cylinder-size(=16065 * 512 bytes)*2^(?)  did not give 
advantages in the past. I did not do complete disk dd-s so far but had 
many at the end of a dd with the current patch setup and partitions 
 >0.3GB with the conventional bdflush and disk read/write-latency 
parameters. Find your poison!

Have a nice weekend, too! And thanks for your comments, Dieter!

Manuel


  reply	other threads:[~2002-04-26 22:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26  4:57 Comparison of notail and notail,iicache(14) 2.4.19-pre7 Dieter Nützel
2002-04-26 11:41 ` Yury Yu. Rupasov
2002-04-26 16:45   ` Dieter Nützel
2002-04-26 21:21     ` Manuel Krause
2002-04-26 22:00       ` Dieter Nützel
2002-04-26 22:56         ` Manuel Krause [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-24 22:25 Manuel Krause
2002-04-24 22:51 ` Manuel Krause
2002-04-25  1:09   ` Manuel Krause
2002-04-25  2:16     ` Manuel Krause
2002-04-25 10:37   ` Hans Reiser
2002-04-26  1:09     ` Manuel Krause

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CC9DB35.6010106@mb.tu-ilmenau.de \
    --to=manuel.krause@mb.tu-ilmenau.de \
    --cc=Dieter.Nuetzel@hamburg.de \
    --cc=reiserfs-list@namesys.com \
    --cc=yura@yura.polnet.botik.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.