하드웨어/Network 장비2011. 12. 13. 16:43
IEEE1394를 이용한 TCP/IP 네트워크는 cpu 부담도 좀 센편인듯 하지만..
그걸 떠나서, 아무래도 생각보다 성능이 안나오는 이유는
1394의 half-duplex 특성과 TCP의 주고받는 특성이 겹쳐서 그런게 아닐까 생각이 된다.

네이버 블로그 글은 20MBps
kldp 글에서는 17MBps
티스토리 글에서는 33.8MBps (270Mbps)
Firenetbench 에서는 60~80MB/s 의 속도를 내는데 (1394b)

조사를 해보니 1394 / 1394a / 1394b 에 따라서 속도도 다르다 보니
신뢰할 만한 속도에 대한 결과가 보이질 않는다.

[링크 : http://en.wikipedia.org/wiki/IEEE_1394#FireWire_400_.28IEEE_1394-1995.29]
[링크 : http://blog.naver.com/sms0909/80003614537]
[링크 : http://sysdoc.doors.ch/UNIBRAIN/FireNetBench.pdf]
[링크 : http://kldp.org/node/42754]
[링크 : http://trip2me.tistory.com/47]

2011/12/07 - [하드웨어/Network 장비] - iperf로 100M 랜 / IEEE1394 대역폭 측정

흠좀무스러운 내용
VISTA에서는 어떤 이유에서인진 모르지만 Firewire를 통한 TCP/IP를 지원하지 않는다고 한다.
[링크 : http://searchwindowsserver.techtarget.com/...Firewire-IEEE-1394-in-Vista]

'하드웨어 > Network 장비' 카테고리의 다른 글

WOL / WoWLAN / PME  (0) 2012.06.04
2T2R이 머여?  (2) 2012.02.07
iptime VPN 설정  (0) 2011.12.06
RTSP 포워딩 특성 - Anygate / Iptime  (0) 2011.11.14
가상 랜카드는 MAC 어드레스 변경 불가?  (0) 2011.11.06
Posted by 구차니
프로그램 사용/iperf2011. 12. 7. 00:48
문득 IEEE 1394가 얼마나 빠를까 테스트를 해보았는데 의외로 실망스런 결과 -_-

IEEE 1394 / firewire는 400Mbps 이고
Fast Ethernet 은 100Mbps 인데

IEEE 1394 테스트 해보니 140Mbits/sec 정도 (초당 17MB/s)


Fast Ethernet은 94.5Mbits/sec 정도 (초당 11.8MB/s)


이론적인 대역폭 상으로는 4배지만
실제로는 2배도 안되다니.. 조금 심하게 실망임 -_-
예전 P4-2Ghz 시절에 하드속도가 안되서 그런줄 알았는데
Fast Ethernet보다 약간 빠른 정도라니 에이~ ㅠ.ㅠ

[링크 : http://iperf.sourceforge.net/]
[링크 : http://repository.egloos.com/5166176]

[링크 : http://www.ubuntugeek.com/bandwidth-monitoring-tools-for-ubuntu-users.html]

2009/10/22 - [Linux] - iperf - 대역폭 측정

'프로그램 사용 > iperf' 카테고리의 다른 글

iperf3  (0) 2023.07.28
iperf udp 테스트  (0) 2022.03.14
iperf - 대역폭 측정  (0) 2009.10.22
Posted by 구차니
하드웨어/Network 장비2011. 10. 26. 23:09
Xnote LW20 / LW25를 사고 옆을 보니 눈에 띄는 1394 커넥터
오호라~ 예전에 질렀던(펜4 2기가 시절에 -_-) 1394 케이블을 다시 쓸날이 왔구나! 싶은데

아무튼 이녀석 링크를 하면 400Mbps로 뜨고,
예전 구형 시스템에서도 더욱 낮은 cpu 점유율과 더욱 빠른 전송속도를 보여주었던 기억이 난다.

리눅스쪽 설정
$ lspci
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 12)
06:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller

$ sudo modprobe eth1394

$ lsmod | grep 1394
eth1394                13318  0 
ohci1394               26950  0 
ieee1394               81181  2 eth1394,ohci1394

$ dmesg | grep 1394
[    0.281394] ACPI: Battery Slot [CMB0] (battery present)
[    2.498798] ohci1394 0000:06:00.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.552066] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[bc006000-bc0067ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
[    3.824202] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[5822274000e09104]
[    3.824759] ieee1394: Node added: ID:BUS[0-01:1023]  GUID[6c01156100e09104]
[  218.325001] eth1394: eth2: IPv4 over IEEE 1394 (fw-host0)
[  219.606023] ieee1394: Node changed: 0-01:1023 -> 0-00:1023
[  219.606157] ieee1394: Node changed: 0-00:1023 -> 0-01:1023

$ sudo ifconfig eth2 192.168.10.2 netmask 255.255.255.0
 
$ ifconfig
eth2      Link encap:UNSPEC  HWaddr 58-22-27-40-00-E0-91-04-00-00-00-00-00-00-00-00  
          inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:502 errors:0 dropped:0 overruns:0 frame:0
          TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:34881 (34.8 KB)  TX bytes:36850 (36.8 KB)

$ vi /etc/network/interfaces 
auto lo
iface lo inet loopback

auto eth2
iface eth2 inet static
address 192.168.10.2
netmask 255.255.255.0 

$ vi /etc/modprobe.d/blacklist.conf 
# causes no end of confusion by creating unexpected network interfaces
#blacklist eth1394 

일단 eth1394의 경우에는 blacklist 처리가 되어 있어 풀어줘야 하고
ifup 스크립트 쪽에도 올려놔야 자동으로 올라올듯 하다.

[링크 : https://help.ubuntu.com/community/EthernetOverFirewire]
[링크 : http://stream-recorder.com/forum/connecting-two-ubuntu-9-10-computers-over-t5347.html]
[링크 : http://www.ubuntu.or.kr/viewtopic.php?f=21&t=19072]


윈도우쪽 설정


 TCP/IP에 대충 때려주고는 작업관리자에서 확인하면 400Mbps로 속도가 뜬다.


[링크 : http://dvvb-textcube.blogspot.com/2008/10/ubuntu-ieee1394firewire-networking.html]
Posted by 구차니
하드웨어2009. 11. 16. 14:42
DV port는 IEEE 1394와 같고, 캠코더에서 캠코더 모드로 하면
PC에서 이미징 장치로 캡쳐를 받을수 있다고 한다.

(삼성 캠코더의 경우 별다른 설정없이 1394 꼽자마자 이미징 장치로 인식,
VISTA 내장 window maker에서 캡쳐되는것 확인)

[링크 : http://k.daum.net/qna/openknowledge/view.html?category_id=KL]

Using IEEE 1394 Devices with Windows XP
Published: March 25, 2002
By Galan Bridgman, Windows XP Expert Zone Community Columnist
[링크 : http://www.microsoft.com/windowsxp/using/moviemaker/21/dvpassthrough.mspx]

Capturing Video in Windows Movie Maker 2.1 by Using DV Pass-Through
Published: August 25, 2004
[링크 : http://www.microsoft.com/windowsxp/using/moviemaker/expert/bridgman_02march25.mspx]

[링크 : http://en.wikipedia.org/wiki/DV]
[링크 : http://en.wikipedia.org/wiki/IEEE_1394_interface]

-------------

ZV 포트는 예전 486 이전 시절의 노트북에 장착되어 있던 녀석인데..
이름이 비슷하지만 기억속에 잊혀진 녀석이다. 아무튼 문득 기억이 나서 검색을 해보니 무시무시한 녀석이다.
(그래픽 카드 프레임 버퍼로 바로 때려박는다) 물론 과거의 컴퓨터에서는 MPC Level 1 , 2 이런 이야기가 나올정도로
CPU 파워도 약했고, 실질적으로 패러럴 포트를 제외하면 SCSI가 가장 빠르던 시절이니 비디오같은 대용량 데이터를
실시간으로 전송하기 위해서는 어쩔수 없는 방법이었을 것이다.

In computing, a zoomed video port (often simply ZV port) is a unidirectional video bus allowing a device in a PC card slot to transfer video data directly into a VGA frame buffer, so as to allow laptops to display real-time video. The standard was created by the PCMCIA to allow devices such as TV tuners, video inputs and MPEG coprocessors to fit into a PC card form factor and provide a cheap solution for both the laptop manufacturer and consumer.

The ZV port is a direct connection between the PC card slot and VGA controller. Video data is transferred in real time without any buffering, removing the need for bus mastering or arbitration.

The ZV port was invented as an alternative to such methods as the VAFC (VESA Advanced Feature Connector).


[링크 : http://en.wikipedia.org/wiki/ZV_Port]


A ZV-enhanced PCMCIA port accepts standard cards in addition to Motion Picture Experts Group (MPEG) cards that are ZV-compliant. A ZV-compliant MPEG card utilizes internal software to change the pin-out configuration of the port in order to provide a dedicated video bus. The card also features built-in ports for accepting video-in signals. By connecting devices to the video-in ports on the ZV-card, the ZV port becomes a capture port.

Using the ZV port with a MPEG ZV-compliant card, a laptop or notebook can capture television programs and record them to hard disk. The incoming signal is first displayed full-screen, then software hands off the signal to the CPU to process for storage on the hard disk. A ZV port card also captures digital audio and can play back in full digital surround sound. The MPEG ZV-card is the equivalent of an add-on desktop TV tuner card.

In addition to capturing programs, a ZV port card can also be used for streaming live video conferencing, gaming applications, and making home movies. Software provides the ability to edit movies for a professional-style home video studio.

Video input ports vary on MPEG ZV-compliant cards depending on the card itself. Most cards include composite video-in, S-Video and cable-in. Some utilize a single proprietary port that uses a multi-purpose cable or dongle which accommodates all of these tasks, even supporting a remote control. Typically, ZV port cards also feature composite and S-Video output for watching the movies you’ve created on an external monitor such as a television.


[링크 : http://www.wisegeek.com/what-is-a-zv-port.htm]

Posted by 구차니