All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
@ 2003-07-21 14:39 Dieter Nützel
  2003-07-21 15:38 ` Manuel Krause
  2003-07-22  5:32 ` Rob Mueller
  0 siblings, 2 replies; 6+ messages in thread
From: Dieter Nützel @ 2003-07-21 14:39 UTC (permalink / raw)
  To: Chris Mason; +Cc: ReiserFS List, Rob Mueller

Data-logging in the works?

Regards,
	Dieter


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

* Re: 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
  2003-07-21 14:39 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption Dieter Nützel
@ 2003-07-21 15:38 ` Manuel Krause
  2003-07-21 15:55   ` Manuel Krause
  2003-07-22  5:32 ` Rob Mueller
  1 sibling, 1 reply; 6+ messages in thread
From: Manuel Krause @ 2003-07-21 15:38 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: reiserfs-list

On 07/21/03 16:39, Dieter Nützel wrote:
> Data-logging in the works?
> 
> Regards,
>   Dieter

Mmmh. ATM of .22-pre7 only "old" rml-preempt for 2.4.21-final does not 
apply well on vanilla .22-pre7.  But that only in 
linux/arch/sh/kernel/entry.S and linux/arch/ppc/mm/tlb.c compared to the 
adjusted version for -pre5. Do you really need those files for now?!

Recent data-logging without quota does apply without errors on here tough.

But I haven't got the compile up and running yet.

BTW, the HZ=1000 setting makes my system time get some minutes backwards 
  when having a longer uptime. It's solved on every bootup. I this 
typical or have I missed something?!


Bye,

  Manuel


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

* Re: 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
  2003-07-21 15:38 ` Manuel Krause
@ 2003-07-21 15:55   ` Manuel Krause
  2003-07-30  5:11     ` Manuel Krause
  0 siblings, 1 reply; 6+ messages in thread
From: Manuel Krause @ 2003-07-21 15:55 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: reiserfs-list

On 07/21/03 17:38, Manuel Krause wrote:
> On 07/21/03 16:39, Dieter Nützel wrote:
> 
>> Data-logging in the works?
>>
>> Regards,
>>   Dieter
> 
> 
> Mmmh. ATM of .22-pre7 only "old" rml-preempt for 2.4.21-final does not 
> apply well on vanilla .22-pre7.  But that only in 
> linux/arch/sh/kernel/entry.S and linux/arch/ppc/mm/tlb.c compared to the 
> adjusted version for -pre5. Do you really need those files for now?!
> 
> Recent data-logging without quota does apply without errors on here tough.

Heaven, sorry! I definitely don't have the O(1) in here... and no aaX...
So, this info was only for 2.4.22-pre7 plus preempt plus data-logging 
plus search_reada... Sorry for the inconvenience...

> But I haven't got the compile up and running yet.
> 
> BTW, the HZ=1000 setting makes my system time get some minutes backwards 
>  when having a longer uptime. It's solved on every bootup. I this 
> typical or have I missed something?!


Bye,

  Manuel


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

* Re: 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
  2003-07-21 14:39 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption Dieter Nützel
  2003-07-21 15:38 ` Manuel Krause
@ 2003-07-22  5:32 ` Rob Mueller
  2003-07-22 11:54   ` Dieter Nützel
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Mueller @ 2003-07-22  5:32 UTC (permalink / raw)
  To: Dieter Nützel, Chris Mason; +Cc: ReiserFS List

> Data-logging in the works?

I've managed to get this working. Patched to 2.4.22-pre7-aa and then applied
the data logging patches for 2.4.22-pre5 (see
ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.22) which seems
to work fine. I saw two problems though, a function (can't remember which
one) was duplicate defined in mm/filemap.c (exactly the same code appeared
twice), and an EXPORT_SYMBOL() from mm/filemap.c had to be removed as well.
However removing them seemed to work fine.


The patches I applied:

04-reiserfs-sync_fs-4.diff
05-data-logging-39.diff
06-logging-export.diff
06-reiserfs-jh-3.diff
06-write_times.diff
search_reada-5.diff

Rob


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

* Re: 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
  2003-07-22  5:32 ` Rob Mueller
@ 2003-07-22 11:54   ` Dieter Nützel
  0 siblings, 0 replies; 6+ messages in thread
From: Dieter Nützel @ 2003-07-22 11:54 UTC (permalink / raw)
  To: Rob Mueller, Chris Mason; +Cc: ReiserFS List

Am Dienstag, 22. Juli 2003 07:32 schrieb Rob Mueller:
> > Data-logging in the works?
>
> I've managed to get this working. Patched to 2.4.22-pre7-aa and then
> applied the data logging patches for 2.4.22-pre5 (see
> ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.22) which
> seems to work fine. I saw two problems though, a function (can't remember
> which one) was duplicate defined in mm/filemap.c (exactly the same code
> appeared twice), and an EXPORT_SYMBOL() from mm/filemap.c had to be removed
> as well.

As always...;-)

> However removing them seemed to work fine.

I hoped that, but there is sadly no simple pre-emption patch for -aa.
With pre-emption I have much _more_ (IO-) throughput.

> The patches I applied:
>
> 04-reiserfs-sync_fs-4.diff
> 05-data-logging-39.diff
> 06-logging-export.diff
> 06-reiserfs-jh-3.diff
> 06-write_times.diff

Isn't needed 'cause it is in -aa.

> search_reada-5.diff

Thanks,
	Dieter


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

* Re: 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption
  2003-07-21 15:55   ` Manuel Krause
@ 2003-07-30  5:11     ` Manuel Krause
  0 siblings, 0 replies; 6+ messages in thread
From: Manuel Krause @ 2003-07-30  5:11 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]

On 07/21/03 17:55, Manuel Krause wrote:
> On 07/21/03 17:38, Manuel Krause wrote:
> 
>> On 07/21/03 16:39, Dieter Nützel wrote:
>>
>>> Data-logging in the works?
>>>
>>> Regards,
>>>   Dieter
>>
>> Mmmh. ATM of .22-pre7 only "old" rml-preempt for 2.4.21-final does not 
>> apply well on vanilla .22-pre7.  But that only in 
>> linux/arch/sh/kernel/entry.S and linux/arch/ppc/mm/tlb.c compared to 
>> the adjusted version for -pre5. Do you really need those files for now?!
>>
>> Recent data-logging without quota does apply without errors on here 
>> tough.
> 
> Heaven, sorry! I definitely don't have the O(1) in here... and no aaX...
> So, this info was only for 2.4.22-pre7 plus preempt plus data-logging 
> plus search_reada... Sorry for the inconvenience...
> 
>> But I haven't got the compile up and running yet.
>>
>> BTW, the HZ=1000 setting makes my system time get some minutes 
>> backwards  when having a longer uptime. It's solved on every bootup. I 
>> this typical or have I missed something?!
> 
> Bye,
> 
>  Manuel

Yess, I missed something as I don't read LKML usually. They have too 
much more SPAM compared to ReiserFSlist nowadays... (No kidding, but I 
don't need LKML in its whole fashion. But great thanks to the 
Hero-Anti-Spam-Worker of this list, Alexander Lyamin !!!, BTW, as spam 
rate drops to ZERO.)

The attached patch was posted to LKML and is supposed to solve what I 
asked for in the last paragraph of my previous mail that stayed 
unanswered so far. I finally found it myself last hour.

Thanks and bye,

  Manuel



[-- Attachment #2: patch.mkYY.timer_compensation_1000HZ.diff --]
[-- Type: text/plain, Size: 631 bytes --]

diff -Naurd old/kernel/timer.c linux/kernel/timer.c
--- old/kernel/timer.c  2003-07-18 17:27:01.000000000 -0400
+++ linux/kernel/timer.c    2003-07-18 17:32:19.000000000 -0400
@@ -606,6 +606,15 @@
     else
    time_adj += (time_adj >> 2) + (time_adj >> 5);
 #endif
+#if HZ == 1000
+    /* Compensate for (HZ==1000) != (1 << SHIFT_HZ).
+     * Add 1.5625% and 0.78125% to get 1023.4375; => only 0.05% error (p. 14)
+     */
+    if (time_adj < 0)
+   time_adj -= (-time_adj >> 6) + (-time_adj >> 7);
+    else
+   time_adj += (time_adj >> 6) + (time_adj >> 7);
+#endif
 }
 
 /* in the NTP reference this is called "hardclock()" */

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

end of thread, other threads:[~2003-07-30  5:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21 14:39 2.4.22pre7aa1 ;-) Mit O(1) aber leider kein pre-emption Dieter Nützel
2003-07-21 15:38 ` Manuel Krause
2003-07-21 15:55   ` Manuel Krause
2003-07-30  5:11     ` Manuel Krause
2003-07-22  5:32 ` Rob Mueller
2003-07-22 11:54   ` Dieter Nützel

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.