The collected works of ivelegacy - Page 13

What about dynamically measuring all the currents and voltages which are flowing throught the power connector into the motherboard? (which should be functionally equivalent to a black box " black box "), with programmable multimeter? In case, I might help, I have a programmable multimeter, I can have the full control through the serial port in order to do data- sampling (up to 100Khz), etc, unfortunately it's 1 channel 50V-DC@20A, but I can also control my DSO, I have realized a backend to its interface, it's 2 channels @ 100Mhz.

I am not skilled about 200-400Watt-PSU, I have realized things below 20Watt (Switching + LDO)
hey oh? Swimming pool & Racing bicycle.
Rhodamine wrote: This is a good strategy, unfortunately my PSU is dead


Understood. I thought you had a second PSU. Or another Indigo2 machine,
while I currently do not have an Indigo2 machine (but I might borrow)
hey oh? Swimming pool & Racing bicycle.

Code: Select all

top - 13:32:18 up 10 days, 14:32,  0 users,  load average: 2.26, 2.28, 2.39
Tasks:  39 total,   1 running,  38 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.7 us,  1.6 sy,  0.0 ni,  0.0 id, 97.4 wa,  0.0 hi,  0.3 si,  0.0 st
KiB Mem:     61296 total,    59944 used,     1352 free,       56 buffers
KiB Swap:  9765864 total,   412384 used,  9353480 free.     1832 cached Mem


Code: Select all

PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
2342 root      40   0  409892  43788      8 D  1.0 71.4  10:22.97 genautomata
2367 root      40   0    5364    728    468 R  1.0  1.2   0:07.62 top


Code: Select all

build/genautomata ../../../gcc-vGo/gcc/common.md ../../../gcc-vGo/gcc/config/mips/mips.md \
insn-conditions.md > tmp-automata.c

yo man, genautomata is really moving up to 500Mbyte on the swap :shock: :shock: :shock:


the uptime says 10 days compiling gcc with ada-core, native compiling on an machine that has the less performances and ram than the worst router that a chinese has sold ever, and trust me it's really a crap, it has few ram, low throughput, and the rooutfs is attached to an usb harddrive through an USB-v1 controller, with two partitions, one is for the swap (/dev/sda1), the other is for ext3(/dev/sda2)

but but
go go Atheros7@400Mhz

:D




(it's a test to see how stable is the hardware when under heavy load, job product, I have designed the hw around the SoC, and I want to be sure, there are a lot of probes attached while the sw is running )



what about you ? What is the craziest thing you have ever done ?
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
Image
uc-foneras, atheros5/mips32, from the left to the right, { FON2100A(hack SPI), FON2200, FON2202(USB)}

vishnu wrote: memory leak and this was back in the days when Linux would just reboot when it ran out of memory and swap crazy!



I wanted to be sure about that :lol:

Code: Select all

uc-fonera-2202 test # ./test_mem_eat
Got total = 65536 = 64kB
Got total = 131072 = 128kB
Got total = 196608 = 192kB
Got total = 262144 = 256kB
Got total = 327680 = 320kB
Got total = 393216 = 384kB
Got total = 458752 = 448kB
Got total = 524288 = 512kB
Got total = 589824 = 576kB
Got total = 655360 = 640kB
Got total = 720896 = 704kB
Got total = 786432 = 768kB
Got total = 851968 = 832kB
Got total = 917504 = 896kB
Got total = 983040 = 960kB
Got total = 1048576 = 1024kB
Got total = 1114112 = 1088kB
Got total = 1179648 = 1152kB
Got total = 1245184 = 1216kB
Got total = 1310720 = 1280kB
Got total = 1376256 = 1344kB
Got total = 1441792 = 1408kB
Got total = 1507328 = 1472kB
Got total = 1572864 = 1536kB
Got total = 1638400 = 1600kB
Got total = 1703936 = 1664kB
Got total = 1769472 = 1728kB
Got total = 1835008 = 1792kB
Got total = 1900544 = 1856kB
Got total = 1966080 = 1920kB
Got total = 2031616 = 1984kB
Got total = 2097152 = 2048kB
Got total = 2162688 = 2112kB
Got total = 2228224 = 2176kB
Got total = 2293760 = 2240kB
Got total = 2359296 = 2304kB
Got total = 2424832 = 2368kB
Got total = 2490368 = 2432kB
Got total = 2555904 = 2496kB
Got total = 2621440 = 2560kB
Got total = 2686976 = 2624kB
Got total = 2752512 = 2688kB
Got total = 2818048 = 2752kB
Got total = 2883584 = 2816kB
Got total = 2949120 = 2880kB
Got total = 3014656 = 2944kB
Got total = 3080192 = 3008kB
Got total = 3145728 = 3072kB
Got total = 3211264 = 3136kB
Got total = 3276800 = 3200kB
Got total = 3342336 = 3264kB
Got total = 3407872 = 3328kB
Got total = 3473408 = 3392kB
Got total = 3538944 = 3456kB
Got total = 3604480 = 3520kB
Got total = 3670016 = 3584kB
Got total = 3735552 = 3648kB
Got total = 3801088 = 3712kB
Got total = 3866624 = 3776kB
Got total = 3932160 = 3840kB
Got total = 3997696 = 3904kB
Got total = 4063232 = 3968kB
Got total = 4128768 = 4032kB
Got total = 4194304 = 4096kB
Got total = 4259840 = 4160kB
Got total = 4325376 = 4224kB
Got total = 4390912 = 4288kB
Got total = 4456448 = 4352kB
Got total = 4521984 = 4416kB
Got total = 4587520 = 4480kB
Got total = 4653056 = 4544kB
Got total = 4718592 = 4608kB
Got total = 4784128 = 4672kB
Got total = 4849664 = 4736kB
Got total = 4915200 = 4800kB
Got total = 4980736 = 4864kB
Got total = 5046272 = 4928kB
Got total = 5111808 = 4992kB
Got total = 5177344 = 5056kB
Got total = 5242880 = 5120kB
Got total = 5308416 = 5184kB
Got total = 5373952 = 5248kB
Got total = 5439488 = 5312kB
Got total = 5505024 = 5376kB
Got total = 5570560 = 5440kB
Got total = 5636096 = 5504kB
Got total = 5701632 = 5568kB
Got total = 5767168 = 5632kB
Got total = 5832704 = 5696kB
Got total = 5898240 = 5760kB
Got total = 5963776 = 5824kB
Got total = 6029312 = 5888kB
Got total = 6094848 = 5952kB
Got total = 6160384 = 6016kB
Got total = 6225920 = 6080kB
Got total = 6291456 = 6144kB
Got total = 6356992 = 6208kB
Got total = 6422528 = 6272kB
Got total = 6488064 = 6336kB
Got total = 6553600 = 6400kB
Got total = 6619136 = 6464kB
Got total = 6684672 = 6528kB
Got total = 6750208 = 6592kB
Got total = 6815744 = 6656kB
Got total = 6881280 = 6720kB
Got total = 6946816 = 6784kB
Got total = 7012352 = 6848kB
Got total = 7077888 = 6912kB
Got total = 7143424 = 6976kB
Got total = 7208960 = 7040kB
Got total = 7274496 = 7104kB
Got total = 7340032 = 7168kB
Got total = 7405568 = 7232kB
Got total = 7471104 = 7296kB
Got total = 7536640 = 7360kB
mysync invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
Call Trace:[<8006214c>][<80048b68>][<80048b68>][<80093f58>][<8009421c>][<80365b74>][<8009441c>][<8009704c>][<80097008>][<800a220c>][<800f6bbc>][<800a3e24>][<80074d1c>][<8005f5c4>][<8005f5bc>][<8004c510>][<8005e974>][<8005ea58>][<8005ea34>][<8005c420>][<8005c420>][<8005c94c>][<8005c4e0>][<8005e57c>][<80365b74>][<800433c0>][<80043540>]
Mem-info:
Normal per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
Active:2493 inactive:2977 dirty:0 writeback:0 unstable:0
free:182 slab:875 mapped:0 pagetables:35 bounce:0
Normal free:728kB min:720kB low:900kB high:1080kB active:9972kB inactive:11908kB present:32512kB pages_scanned:34487 all_unreclaimable? yes
lowmem_reserve[]: 0 0
Normal: 2*4kB 2*8kB 2*16kB 1*32kB 2*64kB 2*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 728kB
3425 total pagecache pages
Swap cache: add 0, delete 0, find 0/0
Free swap  = 0kB
Total swap = 0kB
8192 pages of RAM
0 pages of HIGHMEM
1382 reserved pages
44 pages shared
0 pages swap cached
Out of memory: kill process 25628 (test_mem_eat) score 128 or a child
Killed process 25628 (test_mem_eat)
Killed
uc-fonera-2202 test #



Code: Select all

Ethernet eth0: MAC address 00:18:84:d0:80:bc
IP: 192.168.1.3/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.14

RedBoot(tm) bootstrap and debug environment [ROMRAM]
OpenWrt certified release, version 1.1 - built 12:40:38, Sep  3 2007

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: FON 2202
RAM: 0x80000000-0x82000000, [0x80040290-0x80fe1000] available
FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
RedBoot> load gentoo-mips-fonera-2202.img
Using default protocol (TFTP)
Entry point: 0x80361750, address range: 0x80041000-0x8084f93b
RedBoot> exec
Now booting linux kernel:
Base address 0x80030000 Entry 0x80361750
Cmdline :

#########################################################################
########       #########       ###    ###          #####       ##########
########        #######        ###    ###    ####   ###    ###   ########
########         #####         ###    ###    ####   ###    ###   ########
########     #    ###    #     ###    ###    ####   ###    ###   ########
########     ##    #    ##     ###    ###    ####   ###    ###   ########
########     ###       ###     ###    ###    ####   ###    ##############
########     ####     ####     ###    ###          #####        #########
########     #####   #####     ###    ###     ###############   #########
########     #############     ###    ###     #########    ###   ########
########     #############     ###    ###     #########    ###   ########
########     #############     ###    ###     #########    ###   ########
########     #############     ###    ###     ##########        #########
#########################################################################
########### P ######### O ######### W ######### E ######### R ###########

kernel_info: version 2.6.26-rotary-wombat-fonera2
kernel_info: compiled by root@kika
kernel_info: compiled with gcc version 4.1.2 (Gentoo 4.1.2 p1.3)
kernel_info: compiled on #329 Tue Aug 20 19:47:36 CEST 2013
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CPU revision is: 00019064 (MIPS 4KEc)
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal          0 ->     8192
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0:        0 ->     8192
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: ip=off console=ttyS0,115200 rdinit=/sbin/init init=/bin/bash
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x25
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 23844k/32768k available (3231k kernel code, 8924k reserved, 599k data, 4420k init, 0k highmem)
SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 192 bytes
NET: Registered protocol family 16
arch.mips.board: Radio config found at offset 0xf8(0x1f8)
m.y. AR531x PCI init .. done
SCSI subsystem initialized
usb.usbcore: registered new interface driver usb.drv.usbfs
usb.usbcore: registered new interface driver usb.drv.hub
usbcore: registered new device driver usb
PCI: fixing up device 0,3,0
PCI.0000:00:03.0 allocating resource.1 mem size=0x4000000 .. skipped
PCI.0000:00:03.0 allocating resource.2 mem size=0x400000 .. done
PCI.0000:00:03.0 allocating resource.0 mem size=0x20000 .. done
PCI.0000:00:00.0 allocating resource.0 mem size=0x1000 .. done
PCI.0000:00:00.1 allocating resource.0 mem size=0x100 .. done
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
ar531x: Registering GPIODEV device
fs.procfs.machine: /proc/machine created
fs.procfs.endian: /proc/endian created
fuse init (API version 7.9)
msgmni has been set to 46
io scheduler noop registered
io scheduler deadline registered (default)
fb0: Virtual frame buffer device, using 1024K of video memory
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A
loop: module loaded
nbd: registered device at major 43
usb.usbcore: registered new interface driver usb.drv.ub
Fixed MDIO Bus: probed
m.y.lan eth0: Atheros AR5315: mac=00:18:84:d0:80:bc, irq 4
ar5315_eth_mii: probed
#####################################################
############ Marvell 88E6060 PHY driver #############
#####################################################
eth0: Marvell 88E6060 PHY driver attached in trailer_mode
eth0: attached PHY driver [PHY Marvell 88E6060] (mii_bus:phy_addr=0:1f)
usb.usbcore: registered new interface driver usb.drv.cdc_ether
usb.usbcore: registered new interface driver usb.drv.rndis_host
ath_hal: Ath5KWiSoC (, , , , , , , , )
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
cmdlinepart partition parsing not available
Searching for RedBoot partition table in spiflash at offset 0x7d0000
Searching for RedBoot partition table in spiflash at offset 0x7e0000
7 RedBoot partitions found on MTD device spiflash
Creating 7 MTD partitions on "spiflash":
0x00000000-0x00030000 : "RedBoot"
0x00030000-0x006e0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "spiflash"
0x006e0000-0x007d0000 : "vmlinux.bin.l7"
0x007d0000-0x007e0000 : "unallocated"
0x007e0000-0x007ef000 : "FIS directory"
0x007ef000-0x007f0000 : "RedBoot config"
0x007f0000-0x00800000 : "boardconfig"
PCI: Enabling device 0000:00:00.1 (0000 -> 0002)
my_ehci_hcd 0000:00:00.1: EHCI Host Controller
my_ehci_hcd 0000:00:00.1: new USB bus registered, assigned bus number 1
my_ehci_hcd 0000:00:00.1: irq 5, io mem 0x80c21000
my_ehci_hcd 0000:00:00.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb.core.hub udev->authorized=True
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usb usb1: New USB device found, NEC D72010 USB 2.0 Controller
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using my_ehci_hcd and address 2
usb.core.hub udev->authorized=True
usb 1-1: configuration #1 chosen from 1 choice
uba: uba1 uba2
usb 1-1: New USB device found, idVendor=0781, idProduct=5567
usb.usbcore: registered new interface driver usb.drv.usb-storage
USB Mass Storage support registered.
Registered led device: gpio1
Registered led device: wlan
Registered led device: gpio3
Registered led device: gpio4
Registered led device: gpio7
usb.usbcore: registered new interface driver usb.drv.usbhid
usbhid: v2.6:USB HID core driver
NET: Registered protocol family 26
TCP cubic registered
NET: Registered protocol family 17
NET: VLAN-802.1Q-Support v1.8
SCTP: Hash tables configured (established 1024 bind 2048)
eth0: Configuring MAC for full duplex
Freeing unused kernel memory: 4420k freed
FPU: CPU has no floating point unit
FPU: IEEE754 floating MIPS floating point support provided as kernel float emulation
FPU: you'll get much better performance by compiling with -msoft-float!

i                   n                    i                   t
e    a    r    l    y     r    a    m    r    o    o    t    f    s

[*] kernel-wait
kernel waiting ...
[*] environment
[*] mount
[*] dev
adding /dev/initctl
[*] ttykeymaps
/dev/tty0 /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/tty7
/dev/ttyS0 /dev/ttyS1
[*] machine-identify
[*] networking
net.up  []={ eth0  }
[*] rtc-dev
[*] rtc-dummy
[*] hostname
[*] telnetd
[*] env-shared-libraries
[*] tiniweb
[*] tiniweb-machine-info
[*] issue
[*] sshd
[*] mysync
[*] machine-specific
fonera-2202 specific code init
- loading kernel modules
ath_ahb: magic
wlan: magic
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (magic)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_ahb: wifi0: : mem=0xb0000000, irq=3
fon2202-power: registering device ... success, /dev/power:253.0
usb.usbcore: registered new interface driver usb.drv.usbd480fb
- creating /dev/power
network, configuring bridge
__________________________
/  [eth0.0][eth0.1]   [ath]
|        |       |
|      __|_______|__
|     |             |
|     |   88E6060   |
|     |_____________|
|         |
|         | eth0
|       __|_____
|      |        |
|      | AR2315 |
|      |________|
|
port0
device.eth0: added VLAN with VID0
device eth0.0 entered promiscuous mode
port1
device.eth0: added VLAN with VID1
device eth0.1 entered promiscuous mode
bridge
device eth0 entered promiscuous mode
bridge0: port 1(eth0.0) entering learning state
bridge0: port 2(eth0.1) entering learning state
waiting .. done
bridge0: topology change detected, propagating
bridge0: port 1(eth0.0) entering forwarding state
bridge0: topology change detected, propagating
bridge0: port 2(eth0.1) entering forwarding state
network, wifi init
__________________________
/  [eth0.0][eth0.1]   [ath]
|        |       |       |
|      __|_______|__     |
|     |             |    |
|     |   88E6060   |    |
|     |_____________|    |
|         |              |
|         | eth0         |
|       __|_____         |
|      |        |        |
|      | AR2315 |--------x
|      |________|
|
ath0
device ath0 entered promiscuous mode
bridge1: port 1(ath0) entering learning state
configuring fonera as master to provide m.y.wlan.fonera2-hallo
waiting .. done
bridge1: topology change detected, propagating
bridge1: port 1(ath0) entering forwarding state
[*] rtc

calling login 1th/2 ...
,,,,
$$$$$$
$$$$$$$$$
$$$$$$$$$$$                                 ,,
$$$$$$$$$$$$                              $$$$$,
`$$$$$$$$$$$                            $$$$$$$$
`$$$$$$$$$Z$      $$$       $$$       $$$$$$$$`
`$ZzZ$$$Z$$$   $$$$$$$   $$$$$$$    $$$$$$$$`
`$$$ZZZ$$$$$ $$$$$$$$$ $$$$$$$$$  $$$$$$$$`
`$$$$$$$$$$ $$ZZ$$$$$ $$ZZZ$$$$ $$$$$$$$
u$$$$$$u      `$$$$$$$$$$ $$$ZZZ$$ $$$$$ZZ$$ $$$$$$$`
$$$$$$$$$$Z$     `$ZZ$$$ZZZ $$$$$$$$ $$$$$$$$$ $$$$$$
$$$$$$$$$$$Z$$$$  $$$$zzz$$$ $$$$$$$$ $$$$$$$$$ $$$$$$`
$$$$$$$$$$Z$$$$$$$$$$$$$$$$$ $$ZZ$$$$ $ZZZ$$$$$ $$$$$`
`$$$$$$$Z$$$$$$$$$$$$$$$$$ $$$$$ZZ$ $ $$$$$$$ $$$$$`
`$Z$$$$$$$$$$$$$$$$$$ $SB$$$  $$ $$$$$$ $$$$`
`$$$$$$$$$$$$$$$$$$$,````,$$$$, ````,$$$$`
`$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$`
`$$$$$$$$$$$$$$$$ $$$$$$$$$$`
`$$$$$$$$$$$$$$$$ $$$$$$$`
$$$$$$$$$$$$$$$$$$$$$$

P  o  w  e  r  u  c   m  a  c  h  i  n  e

genuine interest in the u' n i x platform
genuine appreciation of solid engineering


i   n   s   e   r   t      c  o  i  n  s      p   l   e   a   s   e

-> [*******]  ... access allowed, calling shell ...

e    a    r    l    y     r    a    m    r    o    o    t    f    s
Y O U    H A V E    T H E   P O W E R    U S E    C A R E F U L L Y

uc-fonera-2202 / # cat /proc/machine
fonera2-2202
uc-fonera-2202 / # cat /proc/endian
big-endian
uc-fonera-2202 / # cat /proc/cpuinfo
system type      : Atheros AR2315
machine         : fonera2g 2202
release         : hacked, on kika, to be tested
processor      : 0
cpu model      : MIPS 4KEc V6.4
BogoMIPS      : 219.54
wait instruction   : yes
microsecond timers   : yes
tlb_entries      : 16
extra interrupt vector   : yes
hardware watchpoint   : no
ASEs implemented   :
shadow register sets   : 1
core         : 0
VCED exceptions      : not available
VCEI exceptions      : not available

uc-fonera-2202 / # nbench
BBBBBB   YYY   Y  TTTTTTT  EEEEEEE
BBB   B  YYY   Y    TTT    EEE
BBB   B  YYY   Y    TTT    EEE
BBBBBB    YYY Y     TTT    EEEEEEE
BBB   B    YYY      TTT    EEE
BBB   B    YYY      TTT    EEE
BBBBBB     YYY      TTT    EEEEEEE

b   e   n   c   h    m   a   r   k

TEST                : Iterations/sec.  : A1 Index    : A2 Index
--------------------:------------------:-------------:------------
NUMERIC SORT        :          58.953  :       1.51  :       0.50
STRING SORT         :          5.0528  :       2.26  :       0.35
BITFIELD            :      1.8046e+07  :       3.10  :       0.65
FP EMULATION        :          4.8603  :       2.33  :       0.54
FOURIER             :          6.1951  :       0.01  :       0.00
ASSIGNMENT          :          0.5234  :       1.99  :       0.52
IDEA                :          302.81  :       4.63  :       1.38
HUFFMAN             :          11.874  :       0.33  :       0.11
NEURAL NET          :        0.005059  :       0.01  :       0.00
LU DECOMPOSITION    :         0.14948  :       0.01  :       0.01
==========================BYTEMARK RESULTS==========================
INTEGER INDEX       : 1.852
FLOATING-POINT INDEX: 0.008
MEMORY INDEX        : 0.489
INTEGER INDEX       : 0.443
FLOATING-POINT INDEX: 0.004

uc-fonera-2202 / #
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
Save The C language, Vote The Schoolmarm for The President :lol:
bye. I am not a warez guy. respect.
but first, enforce a smile to your signature
Some prowling the streets, looking for sweets from their Candyman , I'm Looking for a new fun with IP30/Octane2
IP30 purposes : linux (kernel development), Irix Scientific Apps { Ansys, Catia, Pro/E, FiberSIM, AutoDYNþ, ... }
Other Projects : { Cerberus , Woody Box , 68K-board, SWI_DBG }, discontinued Console hacks { GB, GBA, PSX1 }
Wanted Equipments : { U1732C LCR meter by Keysight } ~ ~ I am still Learning English, be patient with me ~ ~
about me , there are just a few things to know: I am exuberant , and I love the urban dictionary : is it a problem ?!?
CV already sent (a few photo of cave-office included), planning to roll my and their stones, completely unbiased :lol:
hey oh? Swimming pool & Racing bicycle.
a bit OT, about including-troubles (what have I to include <WTF?>? have I included <What.The.Frog> I need? -> so boring to care about!) I am working on a special tool that automagically produces inter-module-dependencies

Pros and cons, a shortening of the Latin expression "pro et contra" (for and against)
  • PROs : you can forget these troubles, it will automagically generate interfaces, dependencies, so you can be focused on the project
  • CONs : it requires the project to be written in a specific way, strictly compliant with { MISRA && DO178A && MIL-STD &&MY(2) } (1)

If I will ever design a SafeC compiler these features will be included by default (can I ask for funds on Kickstarter :oops: :oops: :oops: ?)


(1) because I am too lazy to support whatever can be written with the full C grammar :lol:
(2) MY, my way, I have other directives and rules that need to be applied, early discussed here , LOL
bye. I am not a warez guy. respect.
hi guys
I have an old X11 Xterm by Tektronix (model XP217 ), it's good, but …
  • pseudo colors
  • 10Mbit/sec lan
  • no ssh, only telnet

I'd like to have something faster (100Mbit/sec), ssh, and with more colors: suggestions?
bye.
I guess because today it's cheaper to have a second hand laptop, and force linux to work like an X11 server
it's good, but … I do not like to have linux everywhere

currently I am using a GEODE by AMD, it's a tiny board /x86, linux runs good (gentoo/586, I emerge X11 and fluxbox-WM)
it's so small that it can be hidden inside a SonyPlaystation/One (a friend wanted to hide, to have a PSX emulator)

but I prefer an hw X11 Xterm :D


HP C2730A Envizex i - X-Terminal Station
Product Overview & Specifications

The Envizex “i” Station is ideal for end-users who require access to HP’s GUI-based system management applications while retaining console operations. The Envizex graphics console is both a system console and a full-function network connected X terminal on a single desktop.

This product is an X terminal customized to function as an HP 9000 server console. It retains all of its X terminal properties. It can be LAN connected to be used as a network attached display device, providing full X terminal capability including multi-window and graphics functionality.

The Envizex “i” station is an alternative for current character terminals. The Envizex can be serially connected to a server. The product is pre-loaded with software which allows it to automatically boot to start an hpterm serial session, and a local window manager. This product can replace any terminal as a console. This product also enables remote management of multiple serial consoles through the use of shared X. The ability to manage numerous consoles from a single location is a tremendous productivity improvement for your system staff.

C2730A Envizex “i” X-Terminal Station w/ 6MB memory

Specs
  • CPU type: i960
  • 10Base-T ThinLAN Port
  • 10Base-T Twisted pair port
  • 10Base-T AUI LAN Port
  • Parallel port
  • 2 Serial ports
  • HP-HIL Keyboard port
  • 15 pin Monitor port
  • mini din Keyboard and Mouse port

Add-on Memory (4 modules can be used) expandable to 132MB
  • C2323A 8MB memory module
  • C2747A 16MB memory module
  • C2748A 32MB memory module

Accessories
  • C2737A P/S 2 Mouse P/S 2 Keyboard
  • C3220A Audio kit with CD-quality (includes microphone)
  • C3221A 3.5” floppy disk drive
  • C3222A Adapter card with SCSI interface
  • C3224B Token Ring network adapter
  • C2357A 100VG Any-LAN adapter
bye.
I have been fighting for 5 days, trying to implement a crazy "malloc" solution :lol: :lol: :lol: :lol:
It works (do not trust my words, it does not) but … it's a crap … because it's not memory-segmentation-proof, and it's too big footprint

oh, and to fix the hot jam I have also designed a crazier solution which needs a special piece of hardware(1) in order to work :lol: :lol: :lol:

Malloc is a taboo in avionics, it's banned by DO178A from Level A to Level D (4), I have found an Interesting article with the thesis "Why? You'd better avoid malloc()/free() APIs in military/aerospace embedded code"


(1) TLB, a sort of "virtual memory approach" but inventional: translate "VAS(2)" into "CAS(3)", then return a VAS pointer to the malloc's caller. it's possible, but it requires a bit of black magic in the middle, a TLB, and a "bitmap" (perhaps it's possible to implement it reusing the PowerPC's TLB … I have to check)
(2) CAS, Computer Address Space (aka Physical Address Space)
(3) VAS, Virtual Address Space

  • PROs: no memory fragmentation
  • CONs: the CAS size is 16 Mbyte (customer request), I have to strongly limit the number of services (= number of malloc calls) in order to avoid to saturate the whole 4Gbyte physical space, also this solution requires a special implementation to be made in FPGA, so you have an hybrid MPU + fpga on the pcb, with a lot of troubles about "bus error, and bad alignment"



(4) DO178A
  • Level-A , Failure condition is Catastrophic , Failure may cause a crash. Error or loss of critical function required to safely fly and land aircraft
  • Level-B , Failure condition is Hazardous , Failure has a large negative impact on safety or performance, or reduces the ability of the crew to operate the aircraft due to physical distress or a higher workload, or causes serious or fatal injuries among the passengers. (Safety-significant)
  • Level-C , Failure condition is Major , Failure is significant, but has a lesser impact than a Hazardous failure (for example, leads to passenger discomfort rather than injuries) or significantly increases crew workload (safety related)
  • Level-D , Failure condition is Minor , Failure is noticeable, but has a lesser impact than a Major failure (for example, causing passenger inconvenience or a routine flight plan change)
  • Level-E , Failure condition is No Effect , Failure has no impact on safety, aircraft operation, or crew workload.

I am assigned with Level-E :)
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
uunix wrote: Ubuntu


emmm, PowerPC-G5 means you'd better tune a gentoo stage3 into the proper stage4
you will get a speedup of different orders of magnitude :mrgreen:



the following is an Octane2 with 2xR14K@600Mhz, running linux kernel 2.6.17-rc4
it's slow because of the big kernel lock, but … linux sux on this machine
nbench is telling "lies" :lol: :lol: :lol:


Toshiba RISC 2xR14000 @ 600Mhz with FPU -> BogoMIPS 897.02+897.02

Code: Select all

TEST                : Iterations/sec.  : A1 Index    : A2 Index
--------------------:------------------:-------------:------------
NUMERIC SORT        :          346.24  :       8.88  :       2.92
STRING SORT         :          18.283  :       8.17  :       1.26
BITFIELD            :      8.0344e+07  :      13.78  :       2.88
FP EMULATION        :          27.519  :      13.20  :       3.05
FOURIER             :          6776.2  :       7.71  :       4.33
ASSIGNMENT          :          5.0623  :      19.26  :       5.00
IDEA                :          1241.6  :      18.99  :       5.64
HUFFMAN             :          494.07  :      13.70  :       4.38
NEURAL NET          :          4.6025  :       7.39  :       3.11
LU DECOMPOSITION    :           199.2  :      10.32  :       7.45
==========================BYTEMARK RESULTS==========================
INTEGER INDEX       : 13.099
FLOATING-POINT INDEX: 8.378
MEMORY INDEX        : 2.630
INTEGER INDEX       : 3.848
FLOATING-POINT INDEX: 4.646
hey oh? Swimming pool & Racing bicycle.
uunix wrote: 30 mins


yep, Gentoo needs time, great results warranted

my RS/Pro (mips32, Atheros9) took 1 month to get tuned at my wishes (ram rootfs + kernel hack)
Cerberous (PowerPC 405GP) will take more time, because it's uclibC


p.s.
you can also "try" Morph/OS (it's Amiga like, free evaluation, ~130 euro for a life-time license)
hey oh? Swimming pool & Racing bicycle.
Image

MorphOS (aka Mos) is a lightweight, highly efficient and flexible desktop operating system. It includes primarily proprietary as well as open - source components. Its many features range from a modern exceptionally customizable graphical user interface, which can utilize 3D hardware acceleration, to a high-performance Just-in-Time compiler that emulates the 68k family of processors and thereby allows to transparently execute legacy applications developed for the Commodore Ax00 series of computers. You will find a selection of core components described below


I installed Mos on MDD (PowerMac [email protected]): great experience, I envy my friend (the machine is not mine, he asked me to prepare a dual boot, linux/Mos).

It's a nice OS, even if it misses great applications, you "could" find it interesting. It's fast, with a decent filesystem and interface.
Your machine is supported, you only have to check the video card.


Posted just to inform you about the alternative fun :mrgreen:
hey oh? Swimming pool & Racing bicycle.
guardian452 wrote: I've been fascinated by morphos but have no reason to use it


buy an old mac-mini-G4, it's the cheapest about the Mos's license
and about reasons to use it: to develop cool things in a new World, thousand light years away from the X11's Earth :D
(call me: mr Mo-s-tivator :mrgreen: )
hey oh? Swimming pool & Racing bicycle.
I can assemble an Indy R5K for you
hey oh? Swimming pool & Racing bicycle.
ClassicHasClass wrote: An Indy R5K for


No, it's not a trade proposal, I am not interested in any Atari/Amiga/m68k/whatever, I offered a machine (the cheapest) for money, as it's his/her first SGI machine. Consider it as "an option".
hey oh? Swimming pool & Racing bicycle.
I have an IBM Aptiva 486/DoS for sale, but it's a walking-dead :lol:
my brother has an Intellistation P3/WinXP

I do not know AIX, never used, and I do not have an idea of the applications I can, eventually, find and use :oops:
(CAD? FEM? CC?)
bye. I am not a warez guy. respect.
pentium wrote: Isn't that the OS made by desperate mouthbreathing basement dwellers who believe that the Amiga still has a place in the market but can't actually afford the licensing fees to use the name AmigaOS?


emmm Adam said "No!" :D

I guess that when you say " who believe that the Amiga still has a place in the market " you are talking about AmigaOS 4.*, which aims to be targeted to a Amiga N.G.

New Generation machines like Amiga/{A1/X1000,A1/X5000, ACUBE SAM 440/460}

Practically, in the low-entry-level, machines built around a cheaper router-PowerPC440/460 (ACUBE SAM 440/460), and sold with the price of a workstation, plus thousand bucks to buy the top gun in thier new-gen-cream (AmigaOne/Xxxxx), which has almost the same computer power than a PowerMac/PPC sold for hundred bucks on the flea bay, the cost-ratio is >~1:10

Mos isNotEqualTo AmigaOS isNotEqualTo ArOS

  • Mos is a super fast OS, with a decent filesystem and interface, developed by a team for pure fun purpose, it's not open source (1) you can get a life-time license, pay once, free use/upgrade for ever.
  • AmigaOS-NG aims to target NG-hw, it's very expensive, far away to be funny, and has a cost in upgrades
  • ArOS is free, it can run on { m68k,ppc,arm?,x86 } but … it's OpenSource (never completed, and it sucks)

(1) It is a mixed proprietary and open source OS produced for the Pegasos PowerPC processor based computer, PowerUP accelerator equipped Amiga computers, and a series of Freescale development boards that use the Genesi Firmware, including the EFIKA and mobileGT. Since MorphOS 2.4 Apple, Inc. Mac Mini G4 is supported as well ( they are the cheapest about Mos License ). The core, based on the Quark microkernel , is proprietary, although several libraries and other parts are open source, such as Ambient desktop. You can't get the sources, even if you can join the " Holy Cult Sect ", and in this case you can see the " Holy lol Code " :lol:





Image
AmigaNG-A1-case (is that really cool? Oh-man
(unfortunately you can't hear my voice, hardened by sarcasm, to hide my resentment
so imagine a LoL in my face :lol: ))

Image
AmigaNG/5K

One/K
  • CPU: P3041 / P5020 / P5040 1.5Ghz to 2.4Ghz
  • Co-processor: “Xena“ Dual Core 500 MHz Xmos XCore XS1-L2 128 SDS
  • GFX: uknown (most likly Radeon HD 5000+) Memory: 2x DDR3 SDRAM slots 16Gb max
  • 6x USB 2.0
  • 1x Gigabit Ethernet
  • 2x PCIe x16 slots (1x16 or 2x8)
  • 2x PCIe x1 slots
  • 1x Xorro slot (gives access to "Xena")
  • 2x PCI legacy slots
  • 2x RS-232
  • 2x SATA 2 connectors
  • 1x ISerial
  • 1x MircoSD - Bios
  • Supports AmigaOS 4.1 or higher


SAM 460EX
  • 1000/1200 AMCC PowerPC 460ex SoC
  • 2 GB DDR2 Ram 200-pin SODIMM up to 533 MHz
  • Silicon Motion SM502 embedded MoC (audio/video) max 64MB gfx Ram
  • Audio 5.1 Realtek ALC655 codec
  • PCI-express 4x lanes slot (16x mechanical connector)
  • PCI-express 1x lane slot or 1x SATA2 port
  • PCI slot, 32 bit, 66/33 MHz, 3.3V
  • 6x USB2 EHCI/OHCI ports
  • 2x 10/100/1000 Ethernet ports
  • integrated SD card reader
  • RTC clock, Serial port, 8-wires
  • I2C and SPI/I2C buses
  • Supports AmigaOS 4.1 or higher


  • X3500, P3040 Dual Core 1.5Ghz, 1,400 UKP
  • X5000/20, P5020 Dual Core 2.0Ghz, 1,600 UKP
  • X3500/40, P5040 Quad Core 2.4Ghz, 2,000 UKP
  • SAM 460EX, AMCC PowerPC 460ex SoC, 600 euro <---- price drop, due to the fact it's 4-5 years old product
  • SAM 440EP FLEX, AMCC PowerPC 440EP, 500 euro <---- price drop, due to the fact it's 4-5 years old product
hey oh? Swimming pool & Racing bicycle.
at Lucca Comics (an italian event about comics), I tried to touch em Yuriko-Tiger 's bon bon. She threaten a slap, but the science readily provided a valid motivation: wanted to know what the frog is the meaning of a rabbit bon-bon when there are no rabbit ears but elf ears!

Yuriko was embarrassed because she was dressing the wrong ears, and she explained that she had a big problem in japan, her flight was delayed by eight hours, so she didn't sleep enough. Fanny girl (and she is italian).

Slap avoided!

And I ended the conversation with " call me maybe "
She reacted laughing - " sure, man, a phone call From Japan ? even if you were rich and handsome, how much does it cost? " -
and her laughing becomes a ROFL, but once again the science was readily able to provide a good motivation!!!
" sure, girl, with the promise to teach you all the secrets about data roaming abroad – how to avoid excess charges! "

she was shocked, again :lol: :lol: :lol:

Good plan! Unfortunately I got caught by GagaFriend which was at my shoulder, dressed like Lamu, and then, when I met her, I got a kick! Her motivation: " don't bother cosplay girls, don't ask their phone number, and don't look at thier bon bon !!! "

ohhhh my leg, still it hurts!

(I felt like Ataru Moroboshi :lol: :lol: :lol: )



Image

My girl friend was dressed like Lamu (I didn't know because I reached Lucca alone, my girlfriend was already there)
while there was an other girl dressed like Lady Gaga in "Paparazzi"

Crazy World, it was deceiving :lol: :lol: :lol: :lol:
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
uunix wrote: I actually wanted OSX server & has a copy but it's a grey CD dedicated to a certain machine & in this case it's my Mac Mini server, so no go there


you need
  • a MacMIni/PPC
  • an external hard drive, USB driven, pATA technology (is your PowerMac-G5 sATA?)
  • macOSX, grey CD, dedicated to MacMini/PPC

and here it is the " OverRide " procedure
  • bootstrap your MacMini with macOSX DVD1
  • choose " instal into external hard drive " (the one, USB driven, you have attached on the back of the MacMini machine)
  • once completed, you can remove the hard drive from the USB box, and install inside your PowerMac-G5, macOSX should boot fine
  • have fun (harder to be achieved, the science has no recipes)

I used the above trick in order to install a grey-CD-MacOSX-v10.4.2-dedicated to PowerBookG4-15 into a PowerBookG3: the DVD refused to bootstrap if booted on PowerBook-G3, but once installed into the external hard drive, and once the hard drive was installed into the PismoBook, everything worked as expected

My conclusion: grey CD only check the "machine ID" only when you launch the "installer", macOSX has no "machine ID" checker.
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
anyone has already tried the above trick?
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
vishnu wrote: Pic or I say it never happened!


… and do you really think I have taken a pic? with Yuriko?
I stay there with absolutely no digital camera on hand
so no digital proof to feed her jealousy: it's for my good
(my leg still hurts :lol: )
bye.
next step: I am planning to have my personal stand in order to promote a revolutionary drink: rutto-cola (burp cola) :lol: :lol: :lol:
bye.
Image
Yuriko Tiger, Lucca Comics 2015

vishnu wrote: there's not a single pic of her wearing anything
even remotely approaching tiger stipes



emmm, Gaga was dressed as Lamu, while Yuriko
was dressed as … dunno, like a mash up between
a rabbit girl but a strange japanese version with elf ears
and the Wicked Witch in Snow White

+Eleo
Nora+


there is also a funny name collision between them :lol: :lol: :lol:
bye.
Image
Lana Deren, Movida Event, Milan

and ... I happened to see Lana Deren in Milan (actress and model)
I was too shocked, she is more sexy in person than from the covers
Unfortunately she was far, and protected by body guards, but …
… but I whistle loud, so I caught a smile :D
(and another kick in my leg, in the same point :lol: :lol: :lol: )
bye.
I guess there is no OT :D

the topic aims to talk about the " craziest thing you have ever done "
extended from the computer-field (e.g. trying to natively compile gcc aboard of the worst chinese-router ever)
to the human-field (trying to ask a model out on a Date, or just her phone number, avoiding any kick in the leg by your darling)

success: 0/3
failure: 3/3 (the worst chinese-router-ever, has crashed :shock: :shock: :shock: )
status: work in progress :lol:
bye.
robespierre wrote: But I don't get the impression that the supported architectures are parallel.


SierraC is targeted for m68k, including CPU32 (683xx). I do not know why they added a flag to enable/disable the "shortcut" feature, however, I have learnt that you'd better spend half an hour to check the environment (SET variables, SierraC works on a DOS machine).
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
uunix wrote: naked in a toilet cubical with a female friend of hers Etcetera.. E T C E T E R A !!!!! Say no more


:lol: :lol: :lol: :lol:

something similar happened to me in a Rave Party. I danced and drunk a lot, and when I went for a piss, I opened the toilet door finding two trousers down with a naked girl in the middle, LoL, I said " no problem guys, I will use the outside trees ", and I pissed on pine tree.
bye.
it comes out from this topic I have opened because I had a funny behavior with SierraC (job task)

interesting points about the C language

those who think that "being MISRA" could help C source codes to be written in elegant, concise manner, which implies "to diverge" from the standard, more specifically to ban a lot of C89/C99 constructs and features

and those who think that is a bullshit because it's always programmer's fault, they are superior like martial arts master who polishes its blame until it shines, while bad-C-programmers are like the last jerk child who gets his access to a computer console and writes bad C programs and then blames it on the language

Anything goes, ironically they are both true: the C language is a common problem :lol: :lol: :lol:

which makes me motivated to promote my idea of "SafeC", get a new C language with a "schoolmarm" built-in ( I hate to have a dumb compiler with an external MISRA checker), she (the compiler is now a she) will be integrated within the Compiler, and more pedantic in teaching MISRA than the best MISRA-2004 QAC ever (you have to pay for these "tools", there is nothing in the open source world), ready to promote an absolutely "new standard", called "SafeC/89" with no need to diverge -> problem solved

insert coins please, I want my copyright, honey money :D :D :D
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
vishnu wrote: With gcc, just switch in -pedantic and you're already covered!


it's

Code: Select all

-ansi -pedantic -Wall -Werror -Wextra


(partially covered)

but …

  • do not waste and ruin my wicked plans, in first place (1) :lol: :lol: :lol:
  • Step back gonna come at ya fast, the C language is driving us out of control, and with thousands multicore(2) is getting ready to crash, the solution is a schoolmarm, even if some days the schoolmarm looks like the worst bitch ever, next day she is your super girl out to save the world, the result is "keeps getting better" :D
  • the Holy Holy MISRA school (which is a MUST in avionics) says that the above CFLAGS are like foam flakes .... emmm and before say "no", keep calm, and note they have ninja suicide squad with long swords, they can cut your head in a whistle (too angry against the humanity on their forum) :shock: :shock: :shock:
  • (1) GaGA wants diamonds, unfortunately I have discovered they are toooooooooooo expensive, so ...






(2) Thinking about "improvements" in the C language
The real problem with the C language is that Threads Cannot be Implemented as a Common Library, this because C really sucks about concurrency. A bit of hyperbole, the problem is the concurrency model of shared (e.g. global) variable access. Not all concurrent programming make use of shared variables the way they imply - may be some, certainly, not all, and the C language and its implementation offer no built-in tricks, no help at all, you are alone on your way, so, with the C language, a better model for concurrency is probably using channels, which are encouraged by most languages which support concurrency anyway, and not shared memory. However, it's also true that possibly channels cannot be support as library code either.

In other words, it's not a problem, and it doesn't matter which language you want to use, You will always find a trick to handle the complexity and all goes well until you have not to handle hundred or thousand of cores: Hell begins where you can smell the smoke, with the C language you are alone, while the Ada languages already offers Protected Objects, and Modula-3 already offers Mutex Objects, and the RUST language claims to have a similar solution, reasonable because in Mozzilla they have interests about that (=money, business plans, man-power, final products)
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
vishnu wrote: tell me what useful/practical avionics software is ever going to need to run on hundreds or thousands of cores?


Avionics loves 440/460 (e.g. used in M346 aircraft) and it's mono core, while e500 (PowerPC by Freescale) is 4 cores, currently used in Moto GP (Valentino Rossi has it in its motorcycle) and F1 (I worked with RedBull).

News & rumors: it will replaced by an 8 cores in FOM (formula one management), and still supported by Windriver/VxWorks , you have to pay 20K euro of license to have a "trusted compiler& ecosystem, including their Eclipse builder and code checker" (Green Hills costs 50K euro in licenses, including their QAC)

but it's not the point!

The point is that Avionics is mission critical, and due to the HW constrains, strongly uses the " shared memory model " in their equipment , which is completely unsupported by the C language

MISRA does not help, and you have to fix the hot jam (in low level ={ BSP, IBSP, drivers, CBIT, BIT, .. } everything else is written in higher language -> ADA) with a lot of #PRAGMA and ugly tricks ---> you have to handle extra testing activities in order to check if everything is ok within "normal" and "abnormal" working conditions.

That means you have the same problem because you have a lot of devices (with "redundancy" -> e.g. MTC=mission tactical computers) that want to read/write data under different real time OSes

e.g. you might have
  • VxWorks/OS running on boardA
  • interfaced to Integrity/OS running on boardB
  • which might want to talk with Velocy/OS running on boardC
because all of these boards are installed in the same chassis, and they talk each other through shared memory (boardD)

and trust me: it's very hard human power! Thousand hours requested, thousand money involved, and very frustrating job (I say that in first person)

vishnu wrote: pthreads


pthread does not offer nothing in term of " safety " when you have to deal with safe-concurrency, I have articles about that, and again, you depend on #PRAGMA --> you depend on the C compiler implementation, GNU/GCC isNotEqual To DIAB/C , isNotEqual To GreenHills/C ----> say bye bye to the C portability and be prepared for a lot of troubles (and extra homework)

vishnu wrote: The Linux SMP code


Who cares ? Linux is not certifiable as DO178A level E

  • Level-A , Failure condition is Catastrophic , Failure may cause a crash. Error or loss of critical function required to safely fly and land aircraft
  • Level-B , Failure condition is Hazardous , Failure has a large negative impact on safety or performance, or reduces the ability of the crew to operate the aircraft due to physical distress or a higher workload, or causes serious or fatal injuries among the passengers. (Safety-significant)
  • Level-C , Failure condition is Major , Failure is significant, but has a lesser impact than a Hazardous failure (for example, leads to passenger discomfort rather than injuries) or significantly increases crew workload (safety related)
  • Level-D , Failure condition is Minor , Failure is noticeable, but has a lesser impact than a Major failure (for example, causing passenger inconvenience or a routine flight plan change)
  • Level-E , Failure condition is No Effect , Failure has no impact on safety, aircraft operation, or crew workload




Image
Concurrency model, offered by ADA as "language feature"

a few Interesting Articles


Interesting language and book


Concurrent-Euclid is also known as " ConEuc ", it is a concurrent descendant of the Euclid programming language designed by James Cordy and Ric Holt, then at the University of Toronto, in 1980.

I guess that ConEuc can really teach good things to the next generation of the C standard
It was designed for
  • concurrent
  • high performance
  • highly reliable
system software, and proved to be low level enough: the "TUNIS" Operating System is a Unix variant!
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
commodorejohn wrote: last fifteen years


15 years ago we do not have the multi cores machines we have today, and today we do not have the multi core machines we will have in 2020. Predictions: it will be a disaster if we do not fix the jam. This is a partial reason to promote the next generation of the C++11, which will be more focused on "concurrency" offering "built-in" language-features. We are still in time. The articles that I have posted explain WHY and WHERE the C language is going to drive us out of control.
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
miod wrote: This is


this is not the point, I was speaking about my personal experience with the e500 we used in FOM and MotoGP (I guess two interesting examples in automotive).

Points were:
  • they were both 4 cores, running VxWorks under the Windriver version of Eclipse/C89
  • a lot of troubles to be solved before having a "working & verified product"
  • a lot of these troubles were due to the C language which has NO features to support the concurrency in a safe way
  • se we needed to split the project into three parts, high level in C, unsafe (C wrapper to assembly with a few asm-inline), and pure-assembly (critical code)
  • and last but not least, in the next job task we abandoned the shared memory memory and we started to implement message passing, a sort of virtual lan switch implemented in software in where we reused the above approach, embedding it into a BSP. It simplified our life by different level of magnitude (even if it caused a little overhead -> performances drop)
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
commodorejohn wrote: Who cares?


Google cares! Why do you think they have invented the GoLang :D ?
(Google Language, there are 2 working compilers and Apps written in Go)
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my English still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
vishnu wrote: I think ivelegacy works for Lamborghini... :shock:


Freelancer, I was asked to support (as consulant) a team in FOM, and it was RedBull.
have fun
CompileTimeAssert, Because We Have Been Pooping The Wrong Way

Image

I am really appreciating the GNU idea about _compile_time_assert_ (my sarcasm)
have fun
you can learn something new everyday: The Byzantine Problem :D
have fun
chemdream wrote: price is right


too "fuzzified", can you un-fuzzify and give a numerical (USD,EURO,…) definition of "right" ? :D
I wish I could enter into the vegetable garden of William Gibson , on the right of a director, to decide how a film is ultimately released for public viewing, but I am not a nor Cyberpunk writer neither a dude in Hollywood , and my * flawless English * still looks like an old rusty trailer which needs a fix-up, so my personal wonderland begins with a pill ... tumbling down the rabbit hole , where the sky above the router port is the color of television, tuned to a dead channel and some gears still need a debugger there.
geGNUflect on Complexity
(lie cheat, last famous words)

talking with a G-BOY pro - " we GNUDO Obscure C programming because we can " -
(o really?) - "even if, we geGNUflect on Complexity" - He said!

asked: " and didn't you say what the Bugs Life is that ? "
answered: " our virtuosism, an addiction that needs feeding "

and it sounded like " I Don't Like the Drugs But the Drugs Like Me "
but "GNUDO" is actually "a verb" in their Dictionary, because " they can "
reinvent the wheel (squared shaped), invent and devise new words
new C features, even new phrases in their documentation !!!
don't be blasphemous, it's not "neologism", it's "GNUlogism" !!!
and geGNUflect on the altar of the GNUGOD-Complexity !!!


Respect! (my dry-sarcasm)
have fun