Skip to content
Archive of posts tagged linux

Building a router for LAN party with pfSense and Steam cache

We have small LAN-party for about 30 people twice a year. The party takes a place far away from good internet connections. We have to manage with only 4G connections in here. Currently it get really troublesome if we get some game updates to steam etc. since we’re only having one 4G connection witch is shared with 30 people.

Hardware Dell R210-II

After lurking a while in the reddit/r/homelab I decided to buy a cheap Dell R210-II from ebay. The reasoning was;

  1. The physical size is decent (I have limited storage space).
  2. The CPU has a support for virtualization.
  3. Dell provides the customized esxi images, so the installation should be easy
  4. 1 PCI-express slot for new NIC, and enough space to run 2 HDDs in RAID-mode.

I also purchased a 1gigabit 4 port Intel NIC from ebay. Those things are also really cheap. They might be Chinese pirate-cards? (the price is incredibly low), but they still do the work.

Network Configuration

Continue reading ‘Building a router for LAN party with pfSense and Steam cache’ »

Why Symbian is so slow compared to Linux

Symbian phones are really slow compared to Linux based devices like gp2x etc. You really don’t get even near to the same performance (in frames per second) with Symbian phone compared to an open Linux device with similar ARM processor.

Here’s couple of reason’s affecting my emulator ports.

1. No direct access to the frame buffer
Symbian doesn’t provide direct access to the frame buffer. The CDirectScreenAccess API is far from direct. All data goes through window server, so there’s cycles consumed in the sceduling (few context changes etc) and in the memcopy operations made by the Window Server. I’m assuming that the Window Server makes a transformation of the data passed to it via CDirectScreenAccess. This all makes the basic blit operation really slow in Symbian.

I’m hoping that the Qt will provide faster access to the the frame buffer, which could provide significant speed increase to my emulators.

2. Memory mapping and dynarec
The memory mapping affects only gpsp-emulator, but it affects to it heavily. I have to use the memory trampoline pattern to get the dynamic recompilation working in Symbian. This affects all the dynarec emulators a lot. I’m quite sure that psx4symbian would be possible with OMAP3 based devices, if Symbian memory mapping could be modified.

I don’t think that Symbian is going to change their memory mapping just to get dynarec emulator to run faster. However I’m quite sure that this also slows down all self-modifiyingcode which is being run in the Symbian OS, so there might be a little hope. At least I could add an idea about modifying the memory mapping into the Symbian Foundation’s idea database.