All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: kernel loop with lseek + LFS on reiser partition.
@ 2002-04-22  9:49 wolfgang.glas
  2002-04-22 10:02 ` Oleg Drokin
  0 siblings, 1 reply; 8+ messages in thread
From: wolfgang.glas @ 2002-04-22  9:49 UTC (permalink / raw)
  To: Oleg Drokin; +Cc: reiserfs-list

First, I have to apologize, that the program does not return 0 from 
main(), because I crufted this together in 5 minutes or so...

Concerning your question about how long I tried to wait:

It really seems, that I haven't been as patient as you. I'd say I waited 
for 5 minutes or so. (maybe less...)

(833 MHz PIII, EIDE-HD)

  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
[parent not found: <200204221910.16392.Dieter.Nuetzel@hamburg.de>]
* Re: kernel loop with lseek + LFS on reiser partition.
@ 2002-04-22 11:30 wolfgang.glas
  2002-04-22 12:10 ` Oleg Drokin
  0 siblings, 1 reply; 8+ messages in thread
From: wolfgang.glas @ 2002-04-22 11:30 UTC (permalink / raw)
  To: Oleg Drokin; +Cc: reiserfs-list

OK, The program terminates.
During lunchtime, I gave it a try and what I've got is:

/home/wglas/tmp > gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE seek.c
/home/wglas/tmp > time ./a.out

real    11m35.661s
user    0m0.000s
sys     11m32.780s

Seems to scale linear with CPU power......

kernel: 2.4.18+speedup patches.

   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
* kernel loop with lseek + LFS on reiser partition.
@ 2002-04-22  8:28 wolfgang.glas
  2002-04-22  8:32 ` Oleg Drokin
  2002-04-22  9:35 ` Oleg Drokin
  0 siblings, 2 replies; 8+ messages in thread
From: wolfgang.glas @ 2002-04-22  8:28 UTC (permalink / raw)
  To: reiserfs-list

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

Hi all,

I was just about to report a seek bug in samba-2.2.3a, when I wrote the 
attached sample program seeking in a file to position 128GB from the 
beginning and the ne writing "HEllo, world!" to that position. The prgram 
closes fd's 0,1,2 before doing all that, because I tried to simulate the 
fd numbers of the samba server. Hence, error reporting goes to syslog(2) 
instead of stderr. (I recently read about sparse files and decided to give 
them a try...; Program compiled LFS support; see comment in C-file)

Running the program under SuSE7.3 with the folowing two kernels lets the 
process starve in an infineite loop inside the kernel (99% kernel CPU):

linux-2.4.16 from SuSE
linux-2.4.18 with the speedup patches from this mailing list plus 
lvm-1.0.3

glibc-2.2.4 (SuSE 7.3)

 No go with kill, kill -9...... Only reboot helps.

6GB Reiserfs partition on top of lvm, mount with -o conv. 

  Best 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-23  4:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22  9:49 kernel loop with lseek + LFS on reiser partition wolfgang.glas
2002-04-22 10:02 ` Oleg Drokin
     [not found] <200204221910.16392.Dieter.Nuetzel@hamburg.de>
2002-04-23  4:58 ` Oleg Drokin
  -- strict thread matches above, loose matches on Subject: below --
2002-04-22 11:30 wolfgang.glas
2002-04-22 12:10 ` Oleg Drokin
2002-04-22  8:28 wolfgang.glas
2002-04-22  8:32 ` Oleg Drokin
2002-04-22  9:35 ` Oleg Drokin

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.