Using TrimSlice as a Terminal server

This forum is for supported devices using an ARMv7 nVidia SoC.

Using TrimSlice as a Terminal server

Postby dan64 » Sat Oct 26, 2013 3:29 pm

I want to use TrimSlice as a server and I'm not interested to the graphic interface. In the boot.scr file there are the parameters to be allocate for the video card:

mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M video=tegrafb

With these settings I have about 590mb of real memory, while TrimSlice ship with a 1gb of memory installed. I'd like to know how to change these parameters to allocate all the available memory to linux os.

Thanks,
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm

Re: Using TrimSlice as a Terminal server

Postby dan64 » Sun Oct 27, 2013 10:58 am

I have decide to give to the video card only 32M, so I have generated a boot.scr that contains the following memory data:

mem=480M@0M mem=512M@512M nvmem=32M@480M vmalloc=160M

After doing so the Kernel memory map is the following:

$this->bbcode_second_pass_code('', '
<6>Memory: [b]480MB 232MB = 712MB[/b] total
<5>Memory: [b]702580k/702580k[/b] available, [b]313228k[b] reserved, 8192K highmem
<5>Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xff000000 - 0xffe00000 ( 14 MB)
vmalloc : 0xee800000 - 0xf8000000 ( 152 MB)
lowmem : 0xc0000000 - 0xee000000 ( 736 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0b4fb48 (11551 kB)
.init : 0xc0b50000 - 0xc0badca0 ( 376 kB)
.data : 0xc0bae000 - 0xc0c40f68 ( 588 kB)
.bss : 0xc0c40f8c - 0xc0d42880 (1031 kB)
')

I have then decided to change the vmalloc parameter to 248M

The memory map changed as follow:

$this->bbcode_second_pass_code('', '
<6>Memory: 480MB 232MB = 712MB total
<5>Memory: 702580k/702580k available, 313228k reserved, 98304K highmem
<5>Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xff000000 - 0xffe00000 ( 14 MB)
vmalloc : 0xe9000000 - 0xf8000000 ( 240 MB)
lowmem : 0xc0000000 - 0xe8800000 ( 648 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0b4fb48 (11551 kB)
.init : 0xc0b50000 - 0xc0badca0 ( 376 kB)
.data : 0xc0bae000 - 0xc0c40f68 ( 588 kB)
.bss : 0xc0c40f8c - 0xc0d42880 (1031 kB)
')

My questions are:

1) It's better set vmalloc to 160M or 248M ?

2) I don't understand why is stated that the memory available is only 702580k (about 686M) and that 313228k (about 306M) are reserved. It is possible improve the available memory ?

Thanks,
Danilo
dan64
 
Posts: 75
Joined: Mon Jan 31, 2011 8:52 pm


Return to nVidia

Who is online

Users browsing this forum: No registered users and 19 guests