Kies Air Hidden?

March 22nd, 2011 No comments

I note that the recent update to Samsung Apps has moved the list into a more Marketplace style. Unfortunately they have somewhat hidden the tool and it isn’t obvious to find it (nor the updates!).

So the process is as follows:

Applications > Samsung Apps > Category > Utilities > Kies Air

To find your updates:

Applications > Samsung Apps > Menu Button (bottom left) > Downloads

Select and pick your updates.

Only thing that I’d like to see with Kies Air is general file management (i.e. to upload any file not just categories like Music/Images etc).

Tags: , ,

Quick Reads

March 2nd, 2011 No comments

I am constantly reading some book or other and since I got a Kindle for an Christmas present (thanks Dad!); it’s got even easier to find new books and read them. I am however aware that not everyone reads and that some see a book as a hurdle rather than a joy.

If you find yourself in that state then I can suggest Quick Reads; a superb organisation that has got some amazing authors to write some sharp and quick reads to entice people into reading again.

I just got a bundle and will be reading my way through them!

Tags: ,

Kies Air

February 16th, 2011 No comments

I got myself a new phone recently and I can’t say anything bad about it at all; it’s a Samsung Galaxy S.

There are some awesome apps available for it; indeed I’m using a WordPress app to write this. But one app in particular has become a requirement for me.

The software that you can sync you phone is called Kies and it isn’t just bad; it’s awful. I found that it failed to work over USB initially until I managed to Google an answer. Next I attempted to set it up over Bluetooth; the phone happily paired and I was able to transfer manually but Kies similar gives a cryptic error (it says that the device denied the connection) at which point it then deletes the pairing.

There is salvation and it comes in the form of Kies Air. This app allows you to directly access you device via wirelesswith nothing more than a browser (and Java). The interface looks very much like Kies but actually works! The only thing you can’t do is upgrade the phone firmware but lets be honest that is infrequent anyway.

To get this software you must first allow non-marketplace apps to be installed:

Menu > Settings > Applications > Unknown Sources

Then open up the application called Samsung Apps:

Applications > Samsung Apps

There isn’t a search so you will need to scroll through and look for “Kies Air”. Once it installs to use it is simple enough.

Applications > Kies Air > Start

It will tell you a website to go to on your browser. Put that into your browser; you phone will ask if you wish to allow someone access so accept it. Then you will get the java application that looks and functions like Kies. Super!

As a side; I selected the Samsung Galaxy S over the Google Nexus S based on the fact that I can use the expansion slot. Lets hope that the SGS gets an Android update to 2.3 soon.

Tags: , ,

Conntrack Memory Usage

February 8th, 2011 No comments

Every so often you see messages in your logs regarding ip_conntrack like the following:

ip_conntrack: table full, dropping packet

So my first thought it that it might relate to memory usage. Fortunately enough the kernel provides all the information we need to work it out. The kernel will allocate a “slab” when ever conntrack requires more memory, equally it will retain these slabs for a period of time and reuse if required. Each “slab” represents a number of pages of kernel memory, we can retrieve the current page size by using the following command:

# getconf PAGESIZE
4096

So each page is 4096 bytes. Next lets see how many slabs conntrack is using:

# grep conntrack /proc/slabinfo
ip_conntrack        6537  16620    384  984 1662    1 :  496  124

So that represents the following:

  • ip_conntrack; a human readable name
  • 6537; total number of objects in use.
  • 16620; total available objects (including unused)
  • 384; size of each object.
  • 984; the number of slabs that are active
  • 1662; the total number of slabs
  • 1; the number of pages required to make a slab (normally 1)

The two other columns after the colon relate to SMP CPU information; we don’t need to discuss them.

So 6537 objects each of size 384 bytes, which means that we can fix around 10 per slab (4096/384=10.66). That means that the objects represent 2510208 bytes (~2.4Mb), but because of the overhead we are actually using 654 (6537/10=653.7) slabs or 2.6Mb (654*4096=2678784). So we are wasting around 256 bytes per slab (4096-384*10).

In other words an extremely small amount of memory. So it is very unlikely that is the cause. Further investigation reveal that it is normally due to the conntrack hitting the maximum count which can be viewed by looking at:

# cat /proc/sys/net/ipv4/ip_conntrack_max
65536

Comparing this to the current count:

#  wc -l ./proc/sys/net/ip_conntrack
   5602 /proc/net/ip_conntrack

We now know that it doesn’t use any great deal of memory at all, so we can easily double the count by doing the following:

# echo 131072 >/proc/sys/net/ipv4/ip_conntrack_max

Obviously in this example the memory usage was minor and there was little need to double the count but you can review your own system and increase as you wish now we know that it has a very small memory footprint.

Tags: ,

RAM and dmidecode

January 27th, 2011 No comments

There is a very useful command on Linux systems called dmidecode. This is a command that speaks to a computer’s DMI; sometimes called SMBIOS (System Management BIOS). Basically this is an area of your computer that stores various pieces of information about your hardware.

You can just type dmidecode and put the output through a pager but if you look at the man page you can see the DMI type and specifically pick it.

So let’s see an example usage by finding out what sort of RAM my system has by looking at type DMI types:

  1. Physical Memory Array
  2. Memory Device
[root@marine ~]# dmidecode -t 16
# dmidecode 2.10
SMBIOS 2.3 present.

Handle 0x0021, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 1 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2

Handle 0x0022, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0021
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: None
        Locator: A0
        Bank Locator: Bank0/1
        Type: Unknown
        Type Detail: None
        Speed: Unknown
        Manufacturer: None
        Serial Number: None
        Asset Tag: None
        Part Number: None

Handle 0x0023, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0021
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 512 MB
        Form Factor: DIMM
        Set: None
        Locator: A1
        Bank Locator: Bank2/3
        Type: Unknown
        Type Detail: None
        Speed: Unknown
        Manufacturer: None
        Serial Number: None
        Asset Tag: None
        Part Number: None

So you can see that I have a system with 2 banks and it is capable of a maximum of 1Gb (YES it is old). Each bank is carrying 512Mb of RAM. Unfortunately the output doesn’t indicate the type of RAM but maybe we can work it out by looking at another DMI type.

# dmidecode -t 2
# dmidecode 2.10
SMBIOS 2.3 present.

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
        Manufacturer:
        Product Name: RS/RX482SB400
        Version:
        Serial Number:

A quick google reveals that the motherboard supports “Dual DDR SDRAM”. You can see that the information obtain wasn’t that useful against my personal PC. You will obviously find that the results vary depending on the vendor providing the information (and in some cases valid information).

Nevertheless it is useful, for people who are running Windows this information is accessible to you as well with a great tool called CPU-Z.

Switch to our mobile site