Re: a 15 GB file on tmpfs

2005-07-22 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Eckenfels wrote: > On Fri, Jul 22, 2005 at 01:00:18PM +0200, Stefan Smietanowski wrote: > >>>You cant have 16GB of Memory with 32bit CPUs. >> >>PAE >>CONFIG_HIGMEM64G >>Supports a 36bit address space, which Xeons do support. > > > Yes right,

Re: a 15 GB file on tmpfs

2005-07-22 Thread Bernd Eckenfels
On Fri, Jul 22, 2005 at 01:00:18PM +0200, Stefan Smietanowski wrote: > > You cant have 16GB of Memory with 32bit CPUs. > PAE > CONFIG_HIGMEM64G > Supports a 36bit address space, which Xeons do support. Yes right, I was just not aware recent hardware (still) supports that. I mean even mit 2MB

Re: a 15 GB file on tmpfs

2005-07-22 Thread linux
> I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to have this data accessible with a very low seek time. It should work fine. tmpfs has the same limits as any other file system, 2 TB or more, and more than that with CONFIG_LBD. NOTE, however,

Re: a 15 GB file on tmpfs

2005-07-22 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > >>The machine we plan to buy is a HP Proliant Xeon machine and I want to run a >>32 bit linux kernel on it (the xeon we want doesn't have the 64-bit stuff >>yet) > > > You cant

Re: a 15 GB file on tmpfs

2005-07-22 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > The machine we plan to buy is a HP Proliant Xeon machine and I want to run a > 32 bit linux kernel on it (the xeon we want doesn't have the 64-bit stuff > yet) You cant have 16GB of Memory with 32bit CPUs. Bernd - To unsubscribe from this list: send

RE: a 15 GB file on tmpfs

2005-07-22 Thread Cabaniols, Sebastien
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Vargas Sent: mercredi 20 juillet 2005 15:32 To: Erik Mouw Cc: Bastiaan Naber; linux-kernel@vger.kernel.org Subject: Re: a 15 GB file on tmpfs On 7/20/05, Erik Mouw <[EMAIL PROTECTED]> wrote: > On Wed, Jul 20, 2005 at 02:16:36PM +0200,

RE: a 15 GB file on tmpfs

2005-07-22 Thread Cabaniols, Sebastien
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antonio Vargas Sent: mercredi 20 juillet 2005 15:32 To: Erik Mouw Cc: Bastiaan Naber; linux-kernel@vger.kernel.org Subject: Re: a 15 GB file on tmpfs On 7/20/05, Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber

Re: a 15 GB file on tmpfs

2005-07-22 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: The machine we plan to buy is a HP Proliant Xeon machine and I want to run a 32 bit linux kernel on it (the xeon we want doesn't have the 64-bit stuff yet) You cant have 16GB of Memory with 32bit CPUs. Bernd - To unsubscribe from this list: send the

Re: a 15 GB file on tmpfs

2005-07-22 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: The machine we plan to buy is a HP Proliant Xeon machine and I want to run a 32 bit linux kernel on it (the xeon we want doesn't have the 64-bit stuff yet) You cant have 16GB of

Re: a 15 GB file on tmpfs

2005-07-22 Thread linux
I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. It should work fine. tmpfs has the same limits as any other file system, 2 TB or more, and more than that with CONFIG_LBD. NOTE, however,

Re: a 15 GB file on tmpfs

2005-07-22 Thread Bernd Eckenfels
On Fri, Jul 22, 2005 at 01:00:18PM +0200, Stefan Smietanowski wrote: You cant have 16GB of Memory with 32bit CPUs. PAE CONFIG_HIGMEM64G Supports a 36bit address space, which Xeons do support. Yes right, I was just not aware recent hardware (still) supports that. I mean even mit 2MB modules

Re: a 15 GB file on tmpfs

2005-07-22 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Eckenfels wrote: On Fri, Jul 22, 2005 at 01:00:18PM +0200, Stefan Smietanowski wrote: You cant have 16GB of Memory with 32bit CPUs. PAE CONFIG_HIGMEM64G Supports a 36bit address space, which Xeons do support. Yes right, I was just not

Re: a 15 GB file on tmpfs

2005-07-21 Thread Andrew Burgess
On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to have this data accessible with a very low seek time. You don't want tmpfs. You want either (1) ramfs and copy the data once at

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Thu, 2005-07-21 at 11:12 +0200, Stefan Smietanowski wrote: [...] > On a 64bit machine: > $ gcc test.c -o test64 ; ./test64; file ./test64 > sizeof(void *): 8 > sizeof(size_t): 8 > test64: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for > GNU/Linux 2.4.0, dynamically linked (uses

Re: a 15 GB file on tmpfs

2005-07-21 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Petrovitsch wrote: > On Wed, 2005-07-20 at 14:16 +0200, Bastiaan Naber wrote: > [...] > >>I have a 15 GB file which I want to place in memory via tmpfs. I want to do >>this because I need to have this data accessible with a very low seek time.

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Wed, 2005-07-20 at 14:16 +0200, Bastiaan Naber wrote: [...] > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to have this data accessible with a very low seek time. Apart fromn the 32-vs-64bit thing: Isn't it enough (and simpler and more

Re: a 15 GB file on tmpfs

2005-07-21 Thread Denis Vlasenko
On Wednesday 20 July 2005 15:16, Bastiaan Naber wrote: > Hi, > > I am not sure if I can ask this here but I could not find any other place > where I could fine anyone with this knowledge. > > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to

Re: a 15 GB file on tmpfs

2005-07-21 Thread Denis Vlasenko
On Wednesday 20 July 2005 15:16, Bastiaan Naber wrote: Hi, I am not sure if I can ask this here but I could not find any other place where I could fine anyone with this knowledge. I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Wed, 2005-07-20 at 14:16 +0200, Bastiaan Naber wrote: [...] I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. Apart fromn the 32-vs-64bit thing: Isn't it enough (and simpler and more

Re: a 15 GB file on tmpfs

2005-07-21 Thread Stefan Smietanowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Petrovitsch wrote: On Wed, 2005-07-20 at 14:16 +0200, Bastiaan Naber wrote: [...] I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time.

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Thu, 2005-07-21 at 11:12 +0200, Stefan Smietanowski wrote: [...] On a 64bit machine: $ gcc test.c -o test64 ; ./test64; file ./test64 sizeof(void *): 8 sizeof(size_t): 8 test64: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared

Re: a 15 GB file on tmpfs

2005-07-21 Thread Andrew Burgess
On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. You don't want tmpfs. You want either (1) ramfs and copy the data once at boot

Re: a 15 GB file on tmpfs

2005-07-20 Thread Jim Nance
On Wed, Jul 20, 2005 at 05:23:52PM +0200, Antonio Vargas wrote: > Most probably the cost of programming and debugging the hand-made > paging on 32bit machines will cost more than the difference for a > 64bit machine. I'll second that. There may not even be a price difference. I've had quotes for

Re: a 15 GB file on tmpfs

2005-07-20 Thread Antonio Vargas
On 7/20/05, Erik Mouw <[EMAIL PROTECTED]> wrote: > On Wed, Jul 20, 2005 at 01:35:07PM +, Miquel van Smoorenburg wrote: > > In article <[EMAIL PROTECTED]>, > > Erik Mouw <[EMAIL PROTECTED]> wrote: > > >On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: > > >AFAIK you can't use a

Re: a 15 GB file on tmpfs

2005-07-20 Thread Jan Engelhardt
>I want to know if this is possible before spending 10,000 euros on a machine >that has 16 GB of memory. I can get a Dual Opteron 242 with 16G for less than 10K euro. :) Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: a 15 GB file on tmpfs

2005-07-20 Thread Erik Mouw
On Wed, Jul 20, 2005 at 01:35:07PM +, Miquel van Smoorenburg wrote: > In article <[EMAIL PROTECTED]>, > Erik Mouw <[EMAIL PROTECTED]> wrote: > >On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: > >AFAIK you can't use a 15 GB tmpfs on i386 because large memory support > >is

Re: a 15 GB file on tmpfs

2005-07-20 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Erik Mouw <[EMAIL PROTECTED]> wrote: >On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: >> I have a 15 GB file which I want to place in memory via tmpfs. I want to do >> this because I need to have this data accessible with a very low seek time. >

Re: a 15 GB file on tmpfs

2005-07-20 Thread Antonio Vargas
On 7/20/05, Erik Mouw <[EMAIL PROTECTED]> wrote: > On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: > > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > > this because I need to have this data accessible with a very low seek time. > > That should be no

Re: a 15 GB file on tmpfs

2005-07-20 Thread Erik Mouw
On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to have this data accessible with a very low seek time. That should be no problem on a 64 bit architecture. > I want to know if

a 15 GB file on tmpfs

2005-07-20 Thread Bastiaan Naber
Hi, I am not sure if I can ask this here but I could not find any other place where I could fine anyone with this knowledge. I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. I want to know

a 15 GB file on tmpfs

2005-07-20 Thread Bastiaan Naber
Hi, I am not sure if I can ask this here but I could not find any other place where I could fine anyone with this knowledge. I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. I want to know

Re: a 15 GB file on tmpfs

2005-07-20 Thread Erik Mouw
On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. That should be no problem on a 64 bit architecture. I want to know if this

Re: a 15 GB file on tmpfs

2005-07-20 Thread Antonio Vargas
On 7/20/05, Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. That should be no problem

Re: a 15 GB file on tmpfs

2005-07-20 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: I have a 15 GB file which I want to place in memory via tmpfs. I want to do this because I need to have this data accessible with a very low seek time. That should

Re: a 15 GB file on tmpfs

2005-07-20 Thread Erik Mouw
On Wed, Jul 20, 2005 at 01:35:07PM +, Miquel van Smoorenburg wrote: In article [EMAIL PROTECTED], Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: AFAIK you can't use a 15 GB tmpfs on i386 because large memory support is basically a hack

Re: a 15 GB file on tmpfs

2005-07-20 Thread Jan Engelhardt
I want to know if this is possible before spending 10,000 euros on a machine that has 16 GB of memory. I can get a Dual Opteron 242 with 16G for less than 10K euro. :) Jan Engelhardt -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: a 15 GB file on tmpfs

2005-07-20 Thread Antonio Vargas
On 7/20/05, Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 01:35:07PM +, Miquel van Smoorenburg wrote: In article [EMAIL PROTECTED], Erik Mouw [EMAIL PROTECTED] wrote: On Wed, Jul 20, 2005 at 02:16:36PM +0200, Bastiaan Naber wrote: AFAIK you can't use a 15 GB tmpfs on

Re: a 15 GB file on tmpfs

2005-07-20 Thread Jim Nance
On Wed, Jul 20, 2005 at 05:23:52PM +0200, Antonio Vargas wrote: Most probably the cost of programming and debugging the hand-made paging on 32bit machines will cost more than the difference for a 64bit machine. I'll second that. There may not even be a price difference. I've had quotes for