[fpc-devel] Bounty for MIPS

Nikolai Zhubr n-a-zhubr at yandex.ru
Fri Feb 3 01:37:02 CET 2012


Hi,
31.01.2012 0:08, Pierre Free Pascal:
>>> Anyhow, I just discovered that
>>> the /home directory is 99% full on that GCC compile farm machine,
>>> meaning that only  remote tests will be possible ☹
>>>
>>> It seems that lots of developers have the same issue about finding
>>> MIPS machines for testing ….
>>
>> Would you consider the NetGear WNDR3800 680Mhz, 128MB RAM with a USB Flash drive of 32GB to be good enough for the development of the FPC toolchain ?
>> (in this case, I can purchase and ship such device to your place),
>>
>> or would you consider that only a qemu virtual MIPS machine which can handle more memory and more disk space to be suitable for the development ?
>
>    I just googled a bit and read that the
> USB flash drives are considered as having only a limited number of writes
> before that fail... (http://en.wikipedia.org/wiki/USB_flash_drive)
> So I wonder how long such a system like that would last (it probably also depends on
> the USB key quality itself?) if I run the testsuite each night
> on it...
>
>   Would a small USB hard drive be better? But does the device
> have enough power to support such an external drive?
> Would the speed be significantly lower or is the USB 2.0
> speed the real limitation?

Ok. Debian installer ran amazingly smooth and apparently debian is quite 
happy with openwrt's kernel. You can see some numbers etc below. I 
wouldn't say it is blazingly fast, yet it is probably close to the best 
one can get of consumer-grade MIPS device at the moment. There is 10G / 
and 100G /home, hdd read/write speed is around 25Mb/s. I can set up ssh 
for any FPC developer(s) (though I'll need some time to fix cables etc 
then) Let me know. But be aware, it is big endian.

Nikolai

Debian GNU/Linux 6.0 wndr3800 ttyS0

wndr3800 login: root
Password:
Last login: Thu Jan  1 03:02:01 MSK 1970 from zhubr.lan on pts/0
Linux wndr3800 2.6.32.27openwrt #6 Thu Feb 2 23:45:12 MSK 2012 mips
root at wndr3800:~# cat /proc/cpuinfo
system type             : Atheros AR7161 rev 2
machine                 : NETGEAR WNDR3700v2
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 452.19
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 
0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented        : mips16
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root at wndr3800:~# free
              total       used       free     shared    buffers     cached
Mem:        126588      32884      93704          0       5376      19028
-/+ buffers/cache:       8480     118108
Swap:       522232          0     522232
root at wndr3800:~# df /
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             10317112    674588   9118444   7% /
root at wndr3800:~# df /home
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4            103727360    192132  98266188   1% /home
root at wndr3800:~# hdparm -tT /dev/sda

/dev/sda:
  Timing cached reads:   276 MB in  2.01 seconds = 137.35 MB/sec
  Timing buffered disk reads:  78 MB in  3.06 seconds =  25.48 MB/sec
root at wndr3800:~# ld --version
GNU ld (GNU Binutils for Debian) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later 
version.
This program has absolutely no warranty.
root at wndr3800:~# gcc --version
gcc (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root at wndr3800:~# gdb --version
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mips-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
root at wndr3800:~#

>
>   Pierre Muller
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>




More information about the fpc-devel mailing list