Re: /proc/cpuinfo format - arch dependent!

2005-04-21 Thread Ralf Baechle
On Tue, Apr 19, 2005 at 09:24:17AM -0400, Lennart Sorensen wrote: > If you change it now, how many tools would break? > > Maybe if you can list what statistics you think should be common to all > systems, that could be presented in another file that is always the same > format on each

Re: /proc/cpuinfo format - arch dependent!

2005-04-21 Thread Ralf Baechle
On Tue, Apr 19, 2005 at 09:24:17AM -0400, Lennart Sorensen wrote: If you change it now, how many tools would break? Maybe if you can list what statistics you think should be common to all systems, that could be presented in another file that is always the same format on each architecture.

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Grzegorz Kulewski
On Tue, 19 Apr 2005, Nico Schottelius wrote: Lee Revell [Tue, Apr 19, 2005 at 04:42:12PM -0400]: On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: Can you tell me which ones? Multimedia apps like JACK and mplayer that use the TSC for high res timing need to know the CPU speed, and

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 04:42:12PM -0400]: > On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: > > Can you tell me which ones? > > > > Multimedia apps like JACK and mplayer that use the TSC for high res > timing need to know the CPU speed, and /proc/cpuinfo is the fast way to >

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lee Revell
On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: > Can you tell me which ones? > Multimedia apps like JACK and mplayer that use the TSC for high res timing need to know the CPU speed, and /proc/cpuinfo is the fast way to get it. Why don't you create sysfs entries instead? It would be

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lennart Sorensen
On Tue, Apr 19, 2005 at 10:00:12PM +0200, Nico Schottelius wrote: > Can you tell me which ones? top for example would probably break. Maybe not but I suspect it would. mplayer probably would since it uses it to find the cpu type and features that cpu supports. > And if there are really that

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread David S. Miller
On Tue, 19 Apr 2005 22:00:12 +0200 Nico Schottelius <[EMAIL PROTECTED]> wrote: > Can you tell me which ones? glibc even parses /proc/cpuinfo, so by implication every application - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 03:17:00PM -0400]: > On Tue, 2005-04-19 at 09:24 -0400, Lennart Sorensen wrote: > > On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: > > > When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo > > > varies very much on different architectures.

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lee Revell
On Tue, 2005-04-19 at 09:24 -0400, Lennart Sorensen wrote: > On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: > > When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo > > varies very much on different architectures. > > > > Is it possible to make it look more identical (as

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lennart Sorensen
On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: > When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo > varies very much on different architectures. > > Is it possible to make it look more identical (as far as the different > archs allow it)? > > So that one at least can

/proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Hello! When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is it possible to make it look more identical (as far as the different archs allow it)? So that one at least can count the cpus on every system the same way. If so, who would the one I

/proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Hello! When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is it possible to make it look more identical (as far as the different archs allow it)? So that one at least can count the cpus on every system the same way. If so, who would the one I

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lennart Sorensen
On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is it possible to make it look more identical (as far as the different archs allow it)? So that one at least can count

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lee Revell
On Tue, 2005-04-19 at 09:24 -0400, Lennart Sorensen wrote: On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is it possible to make it look more identical (as far as the

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 03:17:00PM -0400]: On Tue, 2005-04-19 at 09:24 -0400, Lennart Sorensen wrote: On Tue, Apr 19, 2005 at 02:15:30PM +0200, Nico Schottelius wrote: When I wrote schwanz3(*) for fun, I noticed /proc/cpuinfo varies very much on different architectures. Is

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread David S. Miller
On Tue, 19 Apr 2005 22:00:12 +0200 Nico Schottelius [EMAIL PROTECTED] wrote: Can you tell me which ones? glibc even parses /proc/cpuinfo, so by implication every application - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lennart Sorensen
On Tue, Apr 19, 2005 at 10:00:12PM +0200, Nico Schottelius wrote: Can you tell me which ones? top for example would probably break. Maybe not but I suspect it would. mplayer probably would since it uses it to find the cpu type and features that cpu supports. And if there are really that many

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Lee Revell
On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: Can you tell me which ones? Multimedia apps like JACK and mplayer that use the TSC for high res timing need to know the CPU speed, and /proc/cpuinfo is the fast way to get it. Why don't you create sysfs entries instead? It would be

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Nico Schottelius
Lee Revell [Tue, Apr 19, 2005 at 04:42:12PM -0400]: On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: Can you tell me which ones? Multimedia apps like JACK and mplayer that use the TSC for high res timing need to know the CPU speed, and /proc/cpuinfo is the fast way to get it.

Re: /proc/cpuinfo format - arch dependent!

2005-04-19 Thread Grzegorz Kulewski
On Tue, 19 Apr 2005, Nico Schottelius wrote: Lee Revell [Tue, Apr 19, 2005 at 04:42:12PM -0400]: On Tue, 2005-04-19 at 22:00 +0200, Nico Schottelius wrote: Can you tell me which ones? Multimedia apps like JACK and mplayer that use the TSC for high res timing need to know the CPU speed, and