public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* horrible disk thorughput on itanium
@ 2001-12-06 16:07 Greg Hennessy
  2001-12-06 16:17 ` Arjan van de Ven
                   ` (2 more replies)
  0 siblings, 3 replies; 29+ messages in thread
From: Greg Hennessy @ 2001-12-06 16:07 UTC (permalink / raw)
  To: linux-kernel

I recently installed a  both a Dell dual cpu 2500 server (dual 1.6 ghz
ia32 chips) and a dell 7150 (dual IA64 chips). My users complained
that the disk io speed on the itanium seemed very slow, even though
both servers have a megaraid controller with seagate cheetah
disks. Bonnie also shows the ia64 machine having worse throughput than
the ia32 machine. 

[root@hydra bonnie]# cat bonnie.hydra bonnie.leo 
              -------Sequential Output-------- ---Sequential Input--
	      --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
	      --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
/sec %CPU
          100  1765 100.0 282891 100.1 377295 100.0  2058 100.0 592709
	  99.5 51920.4 196.5
              -------Sequential Output-------- ---Sequential Input--
	      --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block---
	      --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU
/sec %CPU
          100 17049 100.1 265197 101.0 197094 98.2 16631 100.4 675831
	  99.0 40400.0 191.9

Hydra is the itanium, leo is the 32 bit machine. The character io of
hydra is a factor of 10 slower than that of leo. Is this more likely a
kernel issue, or a glibc issue? Both machiness run standard redhat
7.1, and 2.4.9-12smp kernels.



^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <20011206110713.A8404@cox.rr.com.suse.lists.linux.kernel>]
* Re: horrible disk thorughput on itanium
@ 2001-12-07  6:42 Dan Kegel
  0 siblings, 0 replies; 29+ messages in thread
From: Dan Kegel @ 2001-12-07  6:42 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

Linus wrote:
> >> As far as I can see bonnie++ doesn't use putc_unlocked, but putc.
> >
> >Plain old Bonnie suffered from the same thing.  I long ago made it
> >use putc_unlocked() here because throughput was horrible otherwise.
> 
> Oh, yeah, blame it on bonnie.
> 
>         "Our C library 'putc' is horribly sucky"
> 
>         "Well, then, use something else then".
> 
> Isn't somebody ashamed of glibc and willing to try to fix it? It might
> be as simple as just testing a static flag "have I used pthread_create"
> or even a function pointer that gets switched around at pthread_create..

That sounds racy.  Better to make the change at compile time, maybe?
Say, 

#ifdef __USE_REENTRANT 
#define putc(_ch, _fp) _IO_putc (_ch, _fp)
#else
#define putc(_ch, _fp) _IO_putc_unlocked (_ch, _fp)
#endif

That's pedantically safe, I think.  

- Dan

^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <p73r8q86lpn.fsf@amdsim2.suse.de.suse.lists.linux.kernel>]

end of thread, other threads:[~2001-12-09 23:14 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-06 16:07 horrible disk thorughput on itanium Greg Hennessy
2001-12-06 16:17 ` Arjan van de Ven
2001-12-06 20:47 ` Andrew Morton
2001-12-09 23:13 ` Kurt Garloff
     [not found] <20011206110713.A8404@cox.rr.com.suse.lists.linux.kernel>
     [not found] ` <3C0FD955.4510B738@zip.com.au.suse.lists.linux.kernel>
2001-12-06 22:13   ` Andi Kleen
2001-12-07  6:11     ` Mike Galbraith
2001-12-07  6:15       ` Linus Torvalds
2001-12-07 12:32         ` Greg Hennessy
2001-12-07 17:57           ` Marco Colombo
  -- strict thread matches above, loose matches on Subject: below --
2001-12-07  6:42 Dan Kegel
     [not found] <p73r8q86lpn.fsf@amdsim2.suse.de.suse.lists.linux.kernel>
     [not found] ` <Pine.LNX.4.33.0112070710120.747-100000@mikeg.weiden.de.suse.lists.linux.kernel>
     [not found]   ` <9upmqm$7p4$1@penguin.transmeta.com.suse.lists.linux.kernel>
2001-12-07 13:54     ` Andi Kleen
2001-12-07 14:20       ` Padraig Brady
2001-12-07 16:14       ` Richard Gooch
2001-12-07 17:18         ` Robert Love
2001-12-07 17:40           ` Richard Gooch
2001-12-07 17:48             ` Robert Love
2001-12-07 17:45       ` Linus Torvalds
2001-12-07 17:58         ` Andi Kleen
2001-12-07 18:14           ` Michael Poole
2001-12-07 18:35             ` Padraig Brady
2001-12-07 21:22               ` Michael Poole
2001-12-07 21:37                 ` Padraig Brady
2001-12-07 22:26                   ` Michael Poole
2001-12-07 18:15           ` Linus Torvalds
2001-12-07 18:41             ` Padraig Brady
2001-12-07 18:33           ` Padraig Brady
2001-12-07 20:44         ` Greg Hennessy
2001-12-07 21:37           ` Marco Colombo
2001-12-07 20:42       ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox