Skip to contentSkip to conversation

Comparison of notail and notail,iicache(14) 2.4.19-pre7

DISCUSSION Dieter Nützel 3 participants 6 messages Apr 26, 2002

lore
Share & tools
lore
#0 lore raw

Manuel Krause wrote:

[-]

Quoted 2 lines

What's really unclear is the problem with my failing Netscape files on the living iicache-mounted FS...

I had one outlier with iicache-new-13 here, too.

/etc/cups/ppds.dat

couldn't be accessed. I reported back but got no response.

Quoted 7 lines

...and in this line, of course, you're right: The number of applied patches on-here exceeds my limit, too. It's ridiculous. I don't know how much time I'd save if I didn't like to test and configure this own setup to be stable. Mainline? Please, don't comment.
My most liked/useful patches are RML.preempt+lock-break, AKPM.read-latency, the recent AA.vm-patches, AA.low-latency and ReiserFS.speedup+pending!

No offenses, please. I truly running much the same, here ;-))) Except of ReiserFS.speedup. But the new block allocation is of course interesting.

Next thing could be linux-2.4.19p6-compound-speedup.patch. Any version for -pre7 ready?

Regards,
Dieter

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#1 lore raw
Quoted 20 lines · Dieter Nützel

Manuel Krause wrote:

[-]

Quoted 2 lines

What's really unclear is the problem with my failing Netscape files on the living iicache-mounted FS...

I had one outlier with iicache-new-13 here, too.

/etc/cups/ppds.dat

couldn't be accessed. I reported back but got no response.

Quoted 7 lines

...and in this line, of course, you're right: The number of applied patches on-here exceeds my limit, too. It's ridiculous. I don't know how much time I'd save if I didn't like to test and configure this own setup to be stable. Mainline? Please, don't comment.
My most liked/useful patches are RML.preempt+lock-break, AKPM.read-latency, the recent AA.vm-patches, AA.low-latency and ReiserFS.speedup+pending!

Quoted 7 lines

No offenses, please. I truly running much the same, here ;-))) Except of ReiserFS.speedup. But the new block allocation is of course interesting.

Next thing could be linux-2.4.19p6-compound-speedup.patch. Any version for -pre7 ready?

This patch should work with linux-2.4.19-pre7 as well.

Thanks,
Yura.

#2 lore raw
Quoted 5 lines · Yury Yu. Rupasov
Quoted 4 lines · Dieter Nützel

Manuel Krause wrote:

[-]

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines

What's really unclear is the problem with my failing Netscape files on the living iicache-mounted FS...

I had one outlier with iicache-new-13 here, too.

/etc/cups/ppds.dat

couldn't be accessed. I reported back but got no response.

[-]

Quoted 4 lines
Quoted 2 lines

Next thing could be linux-2.4.19p6-compound-speedup.patch. Any version for -pre7 ready?

This patch should work with linux-2.4.19-pre7 as well.

Yes, Yura.
I tried it today and got one rejection with preempt+lock-break. fs/reiserfs/journal.c.rej

***************
*** 576,592 ****
/* lock the current transaction */

  inline static void lock_journal(struct super_block *p_s_sb) {
    PROC_INFO_INC( p_s_sb, journal.lock_journal );

- while(atomic_read(&(SB_JOURNAL(p_s_sb)->j_wlock)) > 0) {
- PROC_INFO_INC( p_s_sb, journal.lock_journal_wait );
- sleep_on(&(SB_JOURNAL(p_s_sb)->j_wait)) ;
- }
- atomic_set(&(SB_JOURNAL(p_s_sb)->j_wlock), 1) ;
}

/* unlock the current transaction */
inline static void unlock_journal(struct super_block *p_s_sb) {
- atomic_dec(&(SB_JOURNAL(p_s_sb)->j_wlock)) ;
- wake_up(&(SB_JOURNAL(p_s_sb)->j_wait)) ;
}

/*
--- 579,590 ----
/* lock the current transaction */

  inline static void lock_journal(struct super_block *p_s_sb) {
    PROC_INFO_INC( p_s_sb, journal.lock_journal );

+ 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);
}

/*

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

#3 lore raw
Quoted 23 lines · Dieter Nützel
Quoted 9 lines · Yury Yu. Rupasov
Quoted 7 lines · Dieter Nützel

Manuel Krause wrote:

[-]

Quoted 3 lines

What's really unclear is the problem with my failing Netscape files on the living iicache-mounted FS...

Quoted 6 lines
Quoted 6 lines

I had one outlier with iicache-new-13 here, too.

/etc/cups/ppds.dat

couldn't be accessed. I reported back but got no response.

[-]

Quoted 3 lines
Quoted 3 lines

Next thing could be linux-2.4.19p6-compound-speedup.patch. Any version for -pre7 ready?

Quoted 7 lines
Quoted 2 lines

This patch should work with linux-2.4.19-pre7 as well.

Yes, Yura.
I tried it today and got one rejection with preempt+lock-break. fs/reiserfs/journal.c.rej

[-]

Quoted 17 lines

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);
}

Quoted 7 lines

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. Could anyone else advise on preempt+lock-break-awareness here?

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... ;-))

Best regards,

Manuel

#4 lore raw
Quoted 6 lines · Manuel Krause
Quoted 5 lines · Dieter Nützel
Quoted 4 lines · Yury Yu. Rupasov
Quoted 3 lines · Dieter Nützel

Manuel Krause wrote:

[-]

[-]

Quoted 23 lines
Quoted 16 lines

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);
}

Quoted 6 lines

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

Quoted 6 lines

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).

Quoted 1 line

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.

Quoted 4 lines

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).

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?

#5 lore raw
Quoted 43 lines · Dieter Nützel
Quoted 10 lines · Manuel Krause
Quoted 8 lines · Dieter Nützel
Quoted 6 lines · Yury Yu. Rupasov
Quoted 4 lines · Dieter Nützel

Manuel Krause wrote:

[-]

[-]

Quoted 27 lines
Quoted 16 lines

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);
}

Quoted 7 lines

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.

Quoted 6 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 4 lines

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.

Quoted 7 lines
Quoted 6 lines

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... ;-))

Quoted 7 lines

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.

Quoted 8 lines

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