存档

‘科技’ 分类的存档

Install Windows Live Write

2007年11月5日 没有评论

The IE7.0 often crashes recently, so that I have to write in the notepad and then copy/paste the content to the browser windows. If so, sometimes IE still failed when I click “publish” button. This issue has annoyed me for a few days. I try to fix it by installing the latest blog editor: Windows Live Write, which is provided from Microsoft and seems to be dedicated for their Live space.

First, the below two packages are required: Windows Installer, Windows Update Agent

Second, install the packages, then execute Windows Live Write installation program. This process takes about 20 minutes in my laptop(T23), it would download some files from Microsoft Web site and install them later.

The 360safe software reported some programs want to modify the register table, that will add wextract_cleanup0 to run_once item. The “wextract_cleanup0” is a cleanup command used typically by Microsoft’s IExpress/WExtract self-extracting executables. Up until recently, typical Windows Update packages utilized the WExtract library (and still do for certain things — eg. MSN, WMP installations etc). When the SFX is run, it creates a temp setup folder, typically “IXP0000.tmp”, which then gets deleted automatically after installation completes. The runonce command you’ve posted is the command used to delete this folder. I accept this modification.

OK, the Windows Live Write is installed successfully, and it has nice interface and is easy to edit texts.

分类: 科技 标签:

The 11th China Public Security Expo

2007年11月4日 没有评论

The security market has very bright future, even KingSoft, JVC, which were decidated for Video software and hardware devices, both release DVR and remote networking monitoring resolutions.However, few companys provide the background storage, and they know nothing about it.It seems to be our good chance.

To Jose:
Message from Phillip at 14:23:11 Nov 3rd,2007
Jose, although you can dislike or not agree with Chinese culture and some mental actions, you should not critize them as bullshit in front of me and my colleagues. I think it is not polite and you words would hurt my heart that is always proud of my country. We have different opinions, but we should respect each other.

分类: 科技 标签:

UT issue is related to Kernel version

2007年11月1日 没有评论

rpc.gssd/rpc.idmapd/rpc.svcgssd are dedicated for NFSv4.
NLM: NFS Lock Manager

A quick glance tells that I don’t have rpc.lockd running just kernel lockd. Also “man lockd” says: The rpc.lockd program starts the NFS lock manager(NLM) on the kernels that don’t start it automatically. However, since most kernels do start it automatically, rpc.lockd is usually not required. Even so, running ti anyway is harmless.

In the morning, I commented “exportfs -r” in /etc/init.d/nfs, then it caused the NFS share can not be showmounted. It means this command must be executed before start up NFS daemon.

See how heavily each nfsd thread is being used, look at the file /proc/net/rpc/nfsd. The last ten numbers on the th line in that file indicate the number of seconds that thread usage was that percentage of the maximum allows.

The first number is the number of threads available for serving requests and the last eight are number fo seconds that each thread are 100% busy. If the last few numbers have accumulated a significiant amount of time, then your server probody needs some threads.

According to today’s testing for duplicating UT issue, if there’s only a nfs daemon starting ,the mount operatings are quickly in each nodes,even without “-o tcp”. However, more tests are needed to verify its performance when encounter heavy load. Perhaps just as what Gavin said, let UT update their kernel to 2.6.

By the way, it has been proven this mount issue is not related with the mount version. If implement mount2.12a in RH9(2.4) kernel, the dlm_sendd is still a grant CPU hog. Later, We use mount2.11y(UT environment) on kernel to mount, the mount operations are quicky and smoothly. Then, it seems to be caused by different Kernel verion between 2.4 and 2.6.

分类: 科技 标签:

Current NFS/Linux not support SCTP

2007年10月31日 没有评论

Phillip Huang:NFSv4 supports TCP and UDP, does this implementation affect the relative operations(mount/read/write) on NFS share exported from underlying GFS filesystem, which indicates it uses SCTP protocol only?

Talpey Thomas:The Linux NFSv4 implementations supports UDP, but NFSv4 specification forbids it. A congestion controlled transport is required, and UDP does not quaility. However, in theory SCTP and DCCP are candidates. There are no port assignments for NFS on these transports.

Phillip Huang:Or if I want use NFS on GFS smoothly, shall I need to add TCP support to GFS?

Talpey Thomas: No, it is perfectly acceptable to use TCP connection for NFS, and an SCTP connection for GFS. The NFS daemon effectively function as a gateway, isolating both side from any issues

分类: 科技 标签:

mptscsi issue when mkinitrd

2007年10月30日 没有评论

When make initrd image by executing the following command:
# mkinitrd /boot/initrd-2.6.23.img 2.6.23-rc9
No module mptscsi found for kernel 2.6.23-rc9 aborting.

Fixed this issue through comment out “mptscsi” line in /etc/modprobe.conf.
# vi /etc/modproble.conf
# alias scsi_hostadapter1 mptscsi

Then mkinitrd executes smoothly and create the Image for new kernel.

分类: 科技 标签:

lowcomms.c in 2.6.23-rc9

2007年10月30日 没有评论

lowcomms.c located in “fs/dlm” directory of 2.6.23-rc9 kernel source code, is not found in the former kernel version 2.6.9-42(CentOS4.4). Lowcomms will choose to use wither TCP or SCTP as its transport layer depending on the configuration variable protocol. This should be set to 0(default) for TCP or 1 for SCTP. It should be configured using a cluster wide mechanism as it must be the same on all nodes of the cluster for the DLM to function.

分类: 科技 标签:

DLM

2007年10月29日 没有评论

Linux kernel currently lacks a generic cluster framework. Different clustering solutions like GFS and OCFS2 use their own internode communication framework. GFS uses SCTP and OCFS2 uses TCP as their transport protocol.

DLM: A distributed lock manager(DLM) is a common component of many clustering filesystem and databases. DLMs provide cluster-wide locking services which are fault-tolerant and scalable.

In a typical DLM, mastery(owenership) of locks is distributed to different nodes in the cluster, so that the locking resource burden is distributed across all the nodes in the cluster. One node is assigned the job of keeping track of which nodes master which locks, so that if a node does not know where a lock is being mastered, it can find that out. To minimize this extra overhead, each node keeps a cache of lock location information it has obtained from the lock location service. One of the key issue in DLM implementation is recovery, when a node dies, all locks it was holding are released and the state of all locks it was mastering have to be recovered.

As a result, each node in the cluster has to keep track of all the locks it is holding so that it can provide this information to the new lock master when recovering the state of locks mastered by the nodes which left the cluster. Some DLM implementation will migrate lock mastery to a new node if that new node is performing the majority of the lock operations on a particular lock.

分类: 科技 标签:

dlm_sendd & SCTP/TCP

2007年10月29日 没有评论

Kernel: fs/dlm/lowcomms-top.c
The patch adds a TCP based communications layer to the DLM which is compile time selectable. The existing SCTP layer gives the advantage of allowing multihoming, whereas the TCP layer has been heavily tested in precious versions of the DLM and is known to be robust and therefore can be used as a baseline for performancing testing. Internode communication using SCTP. This level is not aware of locks or resources or other dlm objects, only data buffers. These functions also batch(and extract) lots of small messages bound for one node into larger chunks.

Why current node use SCTP?
This is the low-level comms layer. It’s responsible for sending/receiving message from other nodes in the cluster.Cluster nodes are referred to by their nodeids, nodeids are simply 32bit numbers to the locking module. If they need to be expanded for the cluster infrastructure then that is its responsibility.It is this layers responsiblity to resolve there into IP addresses or whatever it needs for internode communications.

The comms level is two kernel threads that deal mainly with the receiving of messages from other nodes and passing them up to the mid-level comms layer(which understand the message format) for execution by locking core, and a send thread which does all the setting up of connections to remote nodes and the sending of data. Threads are not allowed to send their own data because it may cause them to wait in times of high load. Alao, this way, the sending thread can collect together message bound for one node and send them in one block.

From David Tergland: I don’t see any problem with the recv thread executing the locking code on behalf of remote processes as the locking code is short, efficient and nevel(well, hardly ever) waits.

In my way of thinking, you’re well on the way.

TCP Limitation:
TCP(rfc793) has performed immense service as the primary means of reliable data transfer in IP networks.However, an increasing number of recent applications have found TCP too limiting. The limitation which means have wished to bypass including the following:

1.TCP provides both reliable data transfer and strict order-of-transmission delivery of data. Some applications need reliable transfer without sequence maintenance, while other would be satisfied with partial ordering of the data. In both of these cases the head-of-line blocking offerred by TCP causes unnecessary delay.
2.The stream oriented nature of TCP is often an inconvenience. Applications must add their own record marking to delineate their messages, and must make explict use of the push facility to ensure that a complete message is transferred in a reasonable time.
3.The limitation scope of TCP sockets complicates the task of providing highly-available data transer capability using multi-homed hosts.
4.TCP is relatively vulenerable to denial of service attacks such as SYN attacks.(Dos).

With message framing(SCTP and UDP), the boundaries in which messages are communicated through a socket are preserved, this means that if a client sends 100 bytes to a server following by 50 bytes, the server will read 100 bytes and 50 bytes, respectively, for two reads.UDP also operaters in this way, which makes it advantage for message-oriented protocols.

In contrast, TCP operates in a byte-streams fashion, without framing, a peer may receive more or less than was sent(splitting up a write or aggregating multiple writes into a single read). This behavior requires that message-oriented protocols operating over TCP provide data-buffer and message framing within their application layer.

Message in SCTP are transferred reliably but not necessary in the desire order. TCP guarantees that data is delivered in order(which is good thing, considering TCP is a stream protocol). UDP guarantees no ordering. But you can also configure streams within SCTP to accept un-ordered message if desired.

Detail for SCTP: http://www.ibm.com/developerworks/linux/library/l-sctp

分类: 科技 标签:

Streaming-media Storage

2007年10月28日 没有评论

Advanced encryption standard(AES) encryption and decryption engineer for secured data storage.
GPIO: general purpose input/output

Interface GbE media access control(MAC)
USB Transceiver microcell interface + (UTMI +)

Concurrent users. This is possible due to the inclusion of a protocols accelerator and a session-aware traffic manager that determines the bandwidth/prority to associate with each session types. The upper-layer processor protocol accelerator provides processing of TCP/IP and UDP/IP protocols, which offloads the embedded application processor that is used for control and navigation functions. The TMA allocates system network, memory, and storage resources among both control and streaming-media sessions.

The result is hig-performancing DMC Soc that can accommodate many concurrent media sessions including several high-definitin video streams.

Besides serving mesia, the NAS40x enables the DMS application to protect media form data-loss because of a single HDD failure. Because of time and econmic considevations associated with acquired, tailoring, and formating media for enjoyable playback, the avoidance of data loss is an important concern among users, The NAS40x supports enhanced streaming RAID to ensure the media is protected from the time it is imported onto an NAS40x based media archive and continutes to be protected even during the failure f HDD from with the associated array. The user need not take any additional steps to protect media such as mirroring or backing up to other resources. Simillarly, no additional steps are needed to recovered media form data loss other then replacing the affected HDD at convenient time .The user never loses access to streaming media because of a single HDD failure with enhanced streaming RAID.

The software are NAS40X allows the users to parse files according to type(audio, video, still pictures), according to genre(action videos, co-medias), or according to title or author.

File Transfer using portable USB HDD: Media can be shared between networks using a portable USB HDD or Flash driver. Media can be read from the HDD or Flash drive and stored on the NAS40X controlled RAID5 HDDs and vice versa. Other media devices such as MP3 music players could be connected to the USB port to download music files from the RAID5 HDD array.

分类: 科技 标签:

Linux news and some useful words

2007年10月28日 没有评论

TurboxLinux is latest to sign Microsoft Pact. TurboLinux, headquartered in Japan, sells Linux systems mostly in emerging markets such as China and India.

Linux hold to its ideals of freedom and openess.
A smear of memory means the there’s something dirty on the memory.
A shagged battery describes the cables are mess.

I VNC in it from around the planet to keep it on it toes.
I know why, and I know it’s an old complaint but it remains a real problem.
Know enough about what’s going on to correctly diagnose problems.

So here’s the funny thing, I’ve used Windows since 1.0. I’ve lived through the bad times of Windows 386 and ME, and the good times of NT3.5 and 2K. I know XP if not backwards, then with a degree of familarity that only middle-aged co-dependents can afford each other.

Then how come I’m so much more at home with Ubuntu(Gusty Gibbon) than Vista? It boils down to one abiding impression. Ubuntu goes out of its way to get out of your way, even if it doesn’t succeed all the time. Vista goes out its way to be Vista and enforce Vista way. You must conform regardless of the implications.

分类: 科技 标签: